We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 913e0d9 commit d5ae238Copy full SHA for d5ae238
.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
@@ -59,6 +75,7 @@ jobs:
75
needs:
76
- test
77
- msrv
78
+ - clippy
79
runs-on: ubuntu-latest
63
80
# GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency
64
81
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
0 commit comments