File tree Expand file tree Collapse file tree 3 files changed +17
-15
lines changed Expand file tree Collapse file tree 3 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,15 @@ jobs:
31
31
run : ./ci/style.sh
32
32
33
33
clippy :
34
- name : Clippy check
35
- runs-on : ubuntu-24.04
34
+ name : Clippy on ${{ matrix.os }}
35
+ strategy :
36
+ matrix :
37
+ os : [ubuntu-24.04, macos-14, windows-2022]
38
+ runs-on : ${{ matrix.os }}
36
39
timeout-minutes : 10
37
40
steps :
38
41
- uses : actions/checkout@v4
42
+ - run : rustup update stable --no-self-update
39
43
- uses : Swatinem/rust-cache@v2
40
44
# Here we use the latest stable Rust toolchain already installed by GitHub
41
45
# Ideally we should run it for every target, but we cannot rely on unstable toolchains
@@ -270,7 +274,8 @@ jobs:
270
274
- test_tier2
271
275
- test_tier2_vm
272
276
- verify_build
273
- # Github branch protection is exceedingly silly and treats "jobs skipped because a dependency
277
+ - clippy
278
+ # GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency
274
279
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
275
280
# dependencies fails.
276
281
if : always() # make sure this is never "skipped"
Original file line number Diff line number Diff line change @@ -151,20 +151,19 @@ members = [
151
151
" libc-test" ,
152
152
]
153
153
154
- #
155
- # TODO: These should be renamed as `[workspace.lints.*]` once MSRV is abve 1.64
154
+ # FIXME(msrv): These should be renamed as `[workspace.lints.*]` once MSRV is above 1.64
156
155
# This way all crates can use it with `[lints] workspace=true` section
157
- #
158
156
159
157
[lints .rust ]
160
- # TODO : make ident usage consistent in each file
158
+ # FIXME(cleanup) : make ident usage consistent in each file
161
159
unused_qualifications = " allow"
162
160
163
161
[lints .clippy ]
164
- # TODO: all these are default lints and should probably be fixed
162
+ missing_safety_doc = " allow"
163
+
164
+ # FIXME(clippy): all these are default lints and should probably be fixed
165
165
identity_op = " allow"
166
166
if_same_then_else = " allow"
167
- missing_safety_doc = " allow"
168
167
non_minimal_cfg = " allow"
169
168
precedence = " allow"
170
169
redundant_field_names = " allow"
Original file line number Diff line number Diff line change @@ -105,17 +105,15 @@ name = "style_tests"
105
105
path = " test/style_tests.rs"
106
106
harness = true
107
107
108
- #
109
- # TODO: These should be moved to the root Cargo.toml as `[workspace.lints.*]` once MSRV is abve 1.64
110
- # replace it with `[lints] workspace=true`
111
- #
108
+ # FIXME(msrv): These should be moved to the root Cargo.toml as `[workspace.lints.*]`
109
+ # once MSRV is above 1.64 and replaced with `[lints] workspace=true`
112
110
113
111
[lints .rust ]
114
- # TODO : make ident usage consistent in each file
112
+ # FIXME(cleanup) : make ident usage consistent in each file
115
113
unused_qualifications = " allow"
116
114
117
115
[lints .clippy ]
118
- # TODO : fix these, and enable pedantic lints with needed exceptions
116
+ # FIXME(clippy) : fix these
119
117
needless_return = " allow"
120
118
comparison_to_empty = " allow"
121
119
unused_io_amount = " allow"
You can’t perform that action at this time.
0 commit comments