Skip to content

Commit 8a5049f

Browse files
authored
GitHub workflow should use --locked to avoid broken Cargo.lock (#219)
1 parent 9c6ff58 commit 8a5049f

File tree

2 files changed

+193
-7
lines changed

2 files changed

+193
-7
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
github_token: ${{ secrets.GITHUB_TOKEN }}
4545
reporter: 'github-check'
4646
- name: Run tests
47-
run: cargo test
47+
run: cargo test --locked
4848
- name: Build artifacts
49-
run: cargo build --release
49+
run: cargo build --release --locked
5050
- name: Upload artifacts
5151
uses: actions/upload-artifact@master
5252
with:

Cargo.lock

+191-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)