Skip to content

Commit

Permalink
Fix CI builds to build on old versions of Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
samscott89 committed Apr 7, 2024
1 parent 33873c5 commit 5befbdd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -14,11 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Check Rust formatting
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -55,10 +53,9 @@ jobs:
target
key: ${{ runner.os }}-cargo-test-${{ hashFiles('Cargo.toml') }}
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable
toolchain: ${{ matrix.rust }}
- name: Run test ${{ matrix.feature }}
run: |
cargo test --all-targets --features "${{ matrix.feature }}"
Expand Down

0 comments on commit 5befbdd

Please sign in to comment.