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.
This commit is contained in:
Alex Crichton
2019-12-17 13:31:07 -06:00
committed by GitHub
parent d5a2eb397c
commit dd0a937d79

View File

@@ -155,7 +155,7 @@ jobs:
# tests # tests
- run: rustup target add wasm32-wasi - run: rustup target add wasm32-wasi
- run: cargo fetch - run: cargo fetch --locked
# Build and test all features except for lightbeam # Build and test all features except for lightbeam
- run: cargo test --features test_programs --all --exclude lightbeam -- --nocapture - run: cargo test --features test_programs --all --exclude lightbeam -- --nocapture