Update ci.yml

This commit is contained in:
Rob Wagner 2025-06-05 18:01:49 -04:00
parent 3e2f302004
commit 49b7da0643
No known key found for this signature in database
GPG key ID: 53CCB4497B15CF61

View file

@ -15,8 +15,7 @@ jobs:
strategy: strategy:
matrix: matrix:
toolchain: toolchain:
# - stable - stable
# - beta
- nightly - nightly
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -26,9 +25,9 @@ jobs:
components: clippy, rustfmt components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- name: run clippy - name: run clippy
run: cargo clippy --all-features -- -D warnings run: cargo +nightly clippy --all-features -- -D warnings
- name: run formatter checks - name: run formatter checks
run: cargo fmt --all --check run: cargo +nightly fmt --all --check
test: test:
needs: check needs: check
@ -36,8 +35,7 @@ jobs:
strategy: strategy:
matrix: matrix:
toolchain: toolchain:
# - stable - stable
# - beta
- nightly - nightly
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -46,4 +44,4 @@ jobs:
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- name: run tests - name: run tests
run: cargo test --all-features run: cargo +nightly test --all-features