Skip to content

Commit

Permalink
ci: use --locked where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Jul 9, 2024
1 parent 720b94e commit 8b45862
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Check
run: cargo check --all --all-features --all-targets
run: cargo check --locked --all --all-features --all-targets

test:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -55,8 +55,8 @@ jobs:

- name: Test
run: |
cargo test --all
cargo test -p tokio-rustls --features early-data --test early-data
cargo test --locked --all
cargo test --locked -p tokio-rustls --features early-data --test early-data
lints:
name: Lints
Expand All @@ -75,7 +75,7 @@ jobs:

- name: Run cargo clippy
if: always()
run: cargo clippy --all-features -- -D warnings
run: cargo clippy --locked --all-features -- -D warnings

msrv:
name: MSRV
Expand All @@ -88,4 +88,4 @@ jobs:
with:
toolchain: "1.63"

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

0 comments on commit 8b45862

Please sign in to comment.