Skip to content

Commit 8b45862

Browse files
committed
ci: use --locked where appropriate
1 parent 720b94e commit 8b45862

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: dtolnay/rust-toolchain@stable
2424

2525
- name: Check
26-
run: cargo check --all --all-features --all-targets
26+
run: cargo check --locked --all --all-features --all-targets
2727

2828
test:
2929
runs-on: ${{ matrix.os }}
@@ -55,8 +55,8 @@ jobs:
5555

5656
- name: Test
5757
run: |
58-
cargo test --all
59-
cargo test -p tokio-rustls --features early-data --test early-data
58+
cargo test --locked --all
59+
cargo test --locked -p tokio-rustls --features early-data --test early-data
6060
6161
lints:
6262
name: Lints
@@ -75,7 +75,7 @@ jobs:
7575

7676
- name: Run cargo clippy
7777
if: always()
78-
run: cargo clippy --all-features -- -D warnings
78+
run: cargo clippy --locked --all-features -- -D warnings
7979

8080
msrv:
8181
name: MSRV
@@ -88,4 +88,4 @@ jobs:
8888
with:
8989
toolchain: "1.63"
9090

91-
- run: cargo check --lib --all-features
91+
- run: cargo check --locked --lib --all-features

0 commit comments

Comments
 (0)