Skip to content

Commit

Permalink
feat(ci): check that Cargo.lock is up to date in the CI (#2170)
Browse files Browse the repository at this point in the history
Signed-off-by: Dori Medini <dori@starkware.co>
  • Loading branch information
dorimedini-starkware authored Nov 20, 2024
1 parent 2beb6fd commit d087aec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
python3 -m venv ci
ci/bin/pip install -r scripts/requirements.txt
# Check Cargo.lock is up to date.
- name: "Check Cargo.lock"
run: |
cargo update -w --locked
git diff --exit-code Cargo.lock
# Run code style on PR.
- name: "Run rustfmt pull request"
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit d087aec

Please sign in to comment.