We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51363fa commit 56619abCopy full SHA for 56619ab
.github/workflows/rust.yml
@@ -41,6 +41,23 @@ 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
+ # FIXME(msrv): suggestions do not work in 1.23, nor dows `#![allow(clippy::...)]`
59
+ - run: cargo clippy --all -- -Aclippy::while_let_loop
60
61
msrv:
62
name: Check building with the MSRV
63
runs-on: ubuntu-24.04
@@ -70,6 +87,7 @@ jobs:
70
87
success:
71
88
needs:
72
89
- test
90
+ - clippy
73
91
- msrv
74
92
- rustfmt
75
93
runs-on: ubuntu-latest
0 commit comments