Skip to content

Commit

Permalink
ci(msrv): add lockfile check for MSRV for all publishable crates
Browse files Browse the repository at this point in the history
only statrs for now, but wouldn't want to forget it if we add another later
  • Loading branch information
YeungOnion committed Jun 7, 2024
1 parent 820e71f commit 20d18c4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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: mv Cargo.lock.msrv Cargo.lock && cargo hack check --rust-version --workspace --lib --ignore-private

0 comments on commit 20d18c4

Please sign in to comment.