From 2c980e846202982889963805a775845b3c1865aa Mon Sep 17 00:00:00 2001 From: Philip Tricca Date: Tue, 30 Apr 2024 15:34:46 -0700 Subject: [PATCH] Add `--locked` flag to CI test run. This is what we wanted in the first place. It has the added benefit of causing an error if / when the Cargo.lock file gets updated and it shouldn't. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 65195b4..88d349e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,4 +23,4 @@ jobs: - uses: dtolnay/rust-toolchain@nightly - run: sudo apt-get update - run: sudo apt-get install -y pkg-config libudev-dev - - run: cargo test --all-features + - run: cargo test --all-features --locked