Skip to content

Commit

Permalink
chore(CI): validate Cargo lock file (#2309)
Browse files Browse the repository at this point in the history
* Validate Cargo.lock

* Revert "Validate Cargo.lock" and add validate-cargo-lock.yml

* review: run only `cargo update` and simplify yml
  • Loading branch information
laruh authored Jan 7, 2025
1 parent 1eb4bf7 commit a9402c6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/validate-cargo-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Validate Cargo.lock
on: [push]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
validate-cargo-lock:
name: Checking Cargo.lock file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Validate Cargo.lock
run: cargo update -w --locked

0 comments on commit a9402c6

Please sign in to comment.