From 369ef886e4832dde34c920b5c2352ca9f55ab58f Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 10 Mar 2024 20:39:48 +0100 Subject: [PATCH] Ensure that the lockfile is up to date on CI So build failures related to this can't happen again. --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dcf12b5e..8f9add99 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,8 +54,9 @@ jobs: uses: dtolnay/rust-toolchain@nightly - name: Run the tests # Don't use --all-features as that will enable a whole bunch of - # conflicting iced features - run: cargo test --workspace --features "simd,standalone,zstd" + # conflicting iced features. `--locked` ensures that the lockfile is up + # to date. We only really need this in one of the builds. + run: cargo test --locked --workspace --features "simd,standalone,zstd" # This makes sure that NIH-plug can be compiled without VST3 support build-without-vst3: