Use the empty string to trigger toolchain file check instead of an old version
This commit is contained in:
parent
5ea736b97f
commit
6ed6429951
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
@ -15,7 +14,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [
|
rust: [
|
||||||
# Test with toolchain file override
|
# Test with toolchain file override
|
||||||
"1.60",
|
"",
|
||||||
# Test that the sparse registry check works.
|
# Test that the sparse registry check works.
|
||||||
# 1.66 and 1.67 don't support stable sparse registry.
|
# 1.66 and 1.67 don't support stable sparse registry.
|
||||||
"1.66",
|
"1.66",
|
||||||
|
@ -41,10 +40,10 @@ jobs:
|
||||||
profile = "minimal"
|
profile = "minimal"
|
||||||
EOF
|
EOF
|
||||||
shell: bash
|
shell: bash
|
||||||
if: matrix.rust == '1.60'
|
if: matrix.rust == ''
|
||||||
|
|
||||||
- uses: ./
|
- 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
|
id: toolchain
|
||||||
with:
|
with:
|
||||||
toolchain: ${{matrix.rust}}
|
toolchain: ${{matrix.rust}}
|
||||||
|
|
Loading…
Reference in New Issue