Commit 79dea19 1 parent b9874fd commit 79dea19 Copy full SHA for 79dea19
File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ jobs:
152
152
uses : dtolnay/rust-toolchain@nightly
153
153
154
154
- name : cargo test (debug; all features; -Z minimal-versions)
155
- run : cargo -Z minimal-versions test --all-features
155
+ run : cargo -Z minimal-versions test --all-features --locked
156
156
157
157
format :
158
158
name : Format
@@ -190,7 +190,7 @@ jobs:
190
190
# (below) will have a new lint that we want to suppress.
191
191
# If we suppress (e.g. #![allow(clippy::arc_with_non_send_sync)]),
192
192
# we would get an unknown-lint error from older clippy versions.
193
- run : cargo clippy --workspace -- -D warnings -A unknown-lints
193
+ run : cargo clippy --locked -- workspace -- -D warnings -A unknown-lints
194
194
195
195
clippy-nightly-optional :
196
196
name : Clippy nightly (optional)
@@ -205,7 +205,7 @@ jobs:
205
205
with :
206
206
components : clippy
207
207
- name : Check clippy
208
- run : cargo clippy --workspace -- -D warnings
208
+ run : cargo clippy --locked -- workspace -- -D warnings
209
209
210
210
clang-tidy :
211
211
name : Clang Tidy
Original file line number Diff line number Diff line change 5
5
endif
6
6
7
7
CARGO ?= cargo
8
+ CARGOFLAGS += --locked
8
9
9
10
CFLAGS := -Werror -Wall -Wextra -Wpedantic -g -I src/
10
11
PROFILE := release
@@ -32,7 +33,7 @@ test: all test-rust
32
33
./tests/client-server.py ./target/client ./target/server
33
34
34
35
test-rust :
35
- ${CARGO} test
36
+ ${CARGO} test --locked
36
37
37
38
target :
38
39
mkdir -p $@
You can’t perform that action at this time.
0 commit comments