Skip to content

Commit

Permalink
Fail CI if the lock file needs an update (#730)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexcrichton authored Dec 17, 2019
1 parent d5a2eb3 commit dd0a937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd0a937

Please sign in to comment.