chore(deps): bump baptiste0928/cargo-install from 1 to 2 #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rustfmt | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- stable | |
jobs: | |
rustfmt: | |
name: Cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout sources | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 50 | |
submodules: 'recursive' | |
- name: Install Rust stable toolchain | |
uses: actions-rs/[email protected] | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: cargo fmt | |
run: cargo fmt --all -- --check |