Skip to content

Commit

Permalink
Add CI step to check Cargo.lock
Browse files Browse the repository at this point in the history
This PR adds a small job to check whether the Cargo.lock is up
to date.
  • Loading branch information
Frederik Rothenberger committed Oct 24, 2023
1 parent afb54bb commit ca7f58a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ jobs:
run: |
cargo clippy -- -D clippy::all -D warnings -A clippy::manual_range_contains
cargo clippy --tests --benches -- -D clippy::all -D warnings -A clippy::manual_range_contains
check-lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/bootstrap

- name: Cargo Lockfile Check
run: cargo update --workspace --locked

0 comments on commit ca7f58a

Please sign in to comment.