diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml new file mode 100644 index 0000000..eddbf6c --- /dev/null +++ b/.github/workflows/msrv.yml @@ -0,0 +1,24 @@ +name: Test MSRV + +on: + pull_request: + types: [opened, reopened, edited] + push: + branches: [ "main" ] + paths: + - ".github/workflows/msrv.yml" + - "proc/**" + - "examples/**" + - "src/**" + - "Cargo.toml" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install MSRV + run: rustup install 1.80 + - name: Test on MSRV + run: cargo +1.80 test