Skip to content

Commit 6ed6429

Browse files
committed
Use the empty string to trigger toolchain file check instead of an old version
1 parent 5ea736b commit 6ed6429

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: CI
32

43
on:
@@ -15,7 +14,7 @@ jobs:
1514
matrix:
1615
rust: [
1716
# Test with toolchain file override
18-
"1.60",
17+
"",
1918
# Test that the sparse registry check works.
2019
# 1.66 and 1.67 don't support stable sparse registry.
2120
"1.66",
@@ -41,10 +40,10 @@ jobs:
4140
profile = "minimal"
4241
EOF
4342
shell: bash
44-
if: matrix.rust == '1.60'
43+
if: matrix.rust == ''
4544

4645
- uses: ./
47-
name: Run actions-rust-lang/setup-rust-toolchain ${{matrix.rust}}
46+
name: Run actions-rust-lang/setup-rust-toolchain ${{matrix.rust || 'on toolchain file'}}
4847
id: toolchain
4948
with:
5049
toolchain: ${{matrix.rust}}

0 commit comments

Comments
 (0)