Skip to content

Commit

Permalink
ci: enforce MSRV yields same lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
YeungOnion committed Jun 4, 2024
1 parent ca767d8 commit c661687
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Verify msrv

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private && diff Cargo.lock Cargo.lock.msrv

0 comments on commit c661687

Please sign in to comment.