Skip to content

Commit 2bb1184

Browse files
committed
Install clippy and rustfmt
1 parent fea67dc commit 2bb1184

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ jobs:
2424
2525
- name: Check Fmt
2626
if: matrix.rust == 'stable'
27-
run: cargo fmt --check
27+
run: |
28+
rustup component add rustfmt
29+
cargo fmt --check
2830
2931
- name: Check Lints (all features)
3032
if: matrix.rust == 'stable'
31-
run: cargo clippy --tests --features ${{ env.all_features }}
33+
run: |
34+
rustup component add clippy
35+
cargo clippy --tests --features ${{ env.all_features }}
3236
3337
- name: Test (default features)
3438
run: cargo test

0 commit comments

Comments
 (0)