From 0d63087ab905edda2f0830ef58d26bfb901714dc Mon Sep 17 00:00:00 2001 From: Byron Hambly Date: Wed, 10 Apr 2024 09:53:32 +0200 Subject: [PATCH] ci: add cargo check job on stable rust --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14c5a835..e2f869f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -172,3 +172,16 @@ jobs: - name: Run test ${{ matrix.test_name }} run: cargo test --package swap --all-features --test ${{ matrix.test_name }} -- --nocapture + + check_stable: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4.1.2 + + - uses: dtolnay/rust-toolchain@stable + + - uses: Swatinem/rust-cache@v2.7.3 + + - name: Run cargo check on stable rust + run: cargo check --all-targets