Skip to content

Commit 2e7f2a5

Browse files
committed
ci: set the default Rust to what we want to test
Set the default Rust to the version we want to test with.
1 parent dad79df commit 2e7f2a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424
- name: install Rust
25-
run: rustup toolchain install ${{ matrix.rust.version }} --profile minimal --allow-downgrade
25+
run: |
26+
rustup toolchain install ${{ matrix.rust.version }} --profile minimal --allow-downgrade
27+
rustup default ${{ matrix.rust.version }}
2628
- run: cp Cargo.lock.msrv Cargo.lock
2729
if: ${{ matrix.rust.version}} == 1.48.0
2830
- name: cargo check/test

0 commit comments

Comments
 (0)