We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aafcb9 commit b0d4267Copy full SHA for b0d4267
.github/workflows/rust.yml
@@ -41,6 +41,22 @@ jobs:
41
42
- run: cargo test --all
43
44
+ clippy:
45
+ name: Clippy
46
+ runs-on: ubuntu-24.04
47
+ steps:
48
+ - name: Checkout repository
49
+ uses: actions/checkout@v4
50
+
51
+ - name: Update rust
52
+ run: |
53
+ # use beta since it gives us near-latest fixes but isn't as volatile as nightly
54
+ rustup default beta
55
+ rustup component add clippy
56
+ rustup update --no-self-update
57
58
+ - run: cargo clippy --all
59
60
msrv:
61
name: Check building with the MSRV
62
runs-on: ubuntu-24.04
@@ -70,6 +86,7 @@ jobs:
70
86
success:
71
87
needs:
72
88
- test
89
+ - clippy
73
90
- msrv
74
91
- rustfmt
75
92
runs-on: ubuntu-latest
0 commit comments