Skip to content

Commit

Permalink
Fix: Use dtolnay/rust-toolchain to install rustfmt component (#200)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Beyer <kontakt@beyermatthias.de>
  • Loading branch information
matthiasbeyer authored Oct 9, 2023
1 parent 3b19118 commit 16e538a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
submodules: recursive
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt
toolchain: 1.70.0
- uses: Swatinem/rust-cache@v2
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check

clippy:
Expand Down

0 comments on commit 16e538a

Please sign in to comment.