From dd0a937d7998d0325b489f9f0a856879f8412482 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 17 Dec 2019 13:31:07 -0600 Subject: [PATCH] Fail CI if the lock file needs an update (#730) This uses `--locked` on CI to ensure that if the lock file needs changing it's reflected in the PR instead of letting CI accidentally and silently update the lock file for us. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e9e875f7a..de8ece714f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -155,7 +155,7 @@ jobs: # tests - run: rustup target add wasm32-wasi - - run: cargo fetch + - run: cargo fetch --locked # Build and test all features except for lightbeam - run: cargo test --features test_programs --all --exclude lightbeam -- --nocapture