From eed07885648ce30ba55c7b2d0b8bbe1d16717856 Mon Sep 17 00:00:00 2001 From: Oleksii Shmalko Date: Wed, 15 May 2024 15:03:21 +0300 Subject: [PATCH] chore: add github workflow to verify MSRV --- .github/workflows/msrv.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..40df16f0 --- /dev/null +++ b/.github/workflows/msrv.yml @@ -0,0 +1,23 @@ +name: Verify MSRV version + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: Build & Test + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + + steps: + - uses: actions/checkout@v3 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: cargo install cargo-msrv + - run: cargo msrv verify