From 20d18c46415b749a5a55a8afc42bf75449917e73 Mon Sep 17 00:00:00 2001 From: Orion Yeung <11580988+orionyeung001@users.noreply.github.com> Date: Fri, 7 Jun 2024 09:34:04 -0500 Subject: [PATCH] ci(msrv): add lockfile check for MSRV for all publishable crates only statrs for now, but wouldn't want to forget it if we add another later --- .github/workflows/msrv.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/msrv.yml diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml new file mode 100644 index 00000000..29e812ff --- /dev/null +++ b/.github/workflows/msrv.yml @@ -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