Skip to content

Commit

Permalink
review: run only cargo update and simplify yml
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Jan 7, 2025
1 parent 4d83f94 commit e9ad8f8
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/validate-cargo-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@ concurrency:

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

- name: Install Rust toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
- uses: actions/checkout@v3

- name: Validate Cargo.lock
run: |
echo "Checking if Cargo.lock is up-to-date..."
cargo update -w --locked
run: cargo update -w --locked

0 comments on commit e9ad8f8

Please sign in to comment.