Merge pull request #1603 from delta1/ci-check-stable

ci: add cargo check job on stable rust
This commit is contained in:
Byron Hambly 2024-04-16 14:21:58 +02:00 committed by GitHub
commit f380d0928e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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