Skip to content

Commit

Permalink
ci: set the default Rust to what we want to test
Browse files Browse the repository at this point in the history
Set the default Rust to the version we want to test with.
  • Loading branch information
cardoe committed Feb 13, 2024
1 parent dad79df commit 2e7f2a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install Rust
run: rustup toolchain install ${{ matrix.rust.version }} --profile minimal --allow-downgrade
run: |
rustup toolchain install ${{ matrix.rust.version }} --profile minimal --allow-downgrade
rustup default ${{ matrix.rust.version }}
- run: cp Cargo.lock.msrv Cargo.lock
if: ${{ matrix.rust.version}} == 1.48.0
- name: cargo check/test
Expand Down

0 comments on commit 2e7f2a5

Please sign in to comment.