mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-25 16:48:32 +01:00
Use the empty string to trigger toolchain file check instead of an old version
This commit is contained in:
parent
5ea736b97f
commit
6ed6429951
1 changed files with 3 additions and 4 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue