GitHub workflow should use --locked to avoid broken Cargo.lock (#219)
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -44,9 +44,9 @@ jobs:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
reporter: 'github-check'
|
||||
- name: Run tests
|
||||
run: cargo test
|
||||
run: cargo test --locked
|
||||
- name: Build artifacts
|
||||
run: cargo build --release
|
||||
run: cargo build --release --locked
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user