Skip to content

Commit

Permalink
actions: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mechiru committed May 24, 2024
1 parent c45900c commit 534a090
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
channel: [stable, nightly]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- run: cargo build --verbose
- run: cargo test --verbose
- uses: actions/checkout@v4
- name: Install Rust toolchain ${{ matrix.channel }}
run: |
rustup set profile minimal
rustup update --no-self-update $RUST_CHANNEL
rustup component add --toolchain $RUST_CHANNEL rustfmt clippy
env:
RUST_CHANNEL: ${{ matrix.channel }}
- run: cargo build
- run: cargo test
- run: cargo clippy --all-targets --all-features -- --deny warnings

0 comments on commit 534a090

Please sign in to comment.