Skip to content

Commit

Permalink
feat(ci): add dedicated job for ensuring the lockfile is up-to-date
Browse files Browse the repository at this point in the history
Instead of running with `--locked` which would require us to pick a CI job that does this, we can add a dedicated job that only has as its responsibility to ensure that `Cargo.lock` is up-to-date.

Fixes #3547.

Pull-Request: #3587.
  • Loading branch information
thomaseizinger authored Mar 10, 2023
1 parent 8555e08 commit dea6a8c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,10 @@ jobs:
echo $git_status
test -z "$git_status"
ensure-lockfile-uptodate:
name: Ensure that `Cargo.lock` is up-to-date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo metadata --frozen --format-version=1 > /dev/null

0 comments on commit dea6a8c

Please sign in to comment.