From 6ed642995199ca03998311122b0eb2782eb30e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?James=20=E2=80=98Twey=E2=80=99=20Kay?= Date: Wed, 1 Nov 2023 09:44:05 +0000 Subject: [PATCH] Use the empty string to trigger toolchain file check instead of an old version --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0686e3f..72c5e88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,3 @@ - name: CI on: @@ -15,7 +14,7 @@ jobs: matrix: rust: [ # Test with toolchain file override - "1.60", + "", # Test that the sparse registry check works. # 1.66 and 1.67 don't support stable sparse registry. "1.66", @@ -41,10 +40,10 @@ jobs: profile = "minimal" EOF shell: bash - if: matrix.rust == '1.60' + if: matrix.rust == '' - uses: ./ - name: Run actions-rust-lang/setup-rust-toolchain ${{matrix.rust}} + name: Run actions-rust-lang/setup-rust-toolchain ${{matrix.rust || 'on toolchain file'}} id: toolchain with: toolchain: ${{matrix.rust}}