diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0158ad8..55995ef1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,11 @@ on: [push, pull_request] env: RUSTFLAGS: "-Dwarnings" + rust_min: 1.65.0 jobs: ci: + name: Test runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -15,3 +17,20 @@ jobs: - run: cargo clippy --workspace --all-targets - run: cargo build --workspace - run: cargo test --workspace --no-fail-fast + msrv: + name: MSRV + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + + - name: Install toolchain (${{ env.rust_min }}) + run: | + rustup install --profile minimal ${{ env.rust_min }} + rustup override set ${{ env.rust_min }} + + - name: Cache + uses: Swatinem/rust-cache@v2 + + - name: Build + run: cargo build --workspace |
