File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 41
41
42
42
- run : cargo test --all
43
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
+
44
60
msrv :
45
61
name : Check building with the MSRV
46
62
runs-on : ubuntu-24.04
59
75
needs :
60
76
- test
61
77
- msrv
78
+ - clippy
62
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
You can’t perform that action at this time.
0 commit comments