Skip to content

Commit

Permalink
Use --locked in lint, test, and check jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
tsengia committed Dec 28, 2023
1 parent ae9563e commit fa571b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint_fmt_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo check
- run: cargo check --locked

fmt:
name: Formatter Check
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo clippy --no-deps
- run: cargo clippy --no-deps --locked

check-bump:
name: Check Version Bump
Expand All @@ -49,4 +49,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo test
- run: cargo test --locked

0 comments on commit fa571b9

Please sign in to comment.