From 8b458625169bc5d8b3470a9985ca5a76bf31af9a Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 9 Jul 2024 13:38:50 -0400 Subject: [PATCH] ci: use --locked where appropriate --- .github/workflows/CI.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d303320..41ecf7b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 }} @@ -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 @@ -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 @@ -88,4 +88,4 @@ jobs: with: toolchain: "1.63" - - run: cargo check --lib --all-features + - run: cargo check --locked --lib --all-features