From 2e7f2a55f2b72c95952624cb4ab3fee60c5c2011 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 13 Feb 2024 08:39:24 -0600 Subject: [PATCH] ci: set the default Rust to what we want to test Set the default Rust to the version we want to test with. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6775189..55b415d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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