mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-11-25 17:49:31 +01:00
Merge pull request #24 from dtolnay/check
Check cache key against expected
This commit is contained in:
commit
6249e8548d
1 changed files with 12 additions and 2 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -15,14 +15,20 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
name: [Linux]
|
name: [Linux]
|
||||||
os: [ubuntu]
|
os: [ubuntu]
|
||||||
rust: [nightly, beta, stable, 1.0.0]
|
rust: [nightly, beta, stable, 1.62.0, 1.0.0]
|
||||||
include:
|
include:
|
||||||
- name: macOS
|
- name: macOS
|
||||||
os: macos
|
os: macos
|
||||||
rust: nightly
|
rust: nightly
|
||||||
|
- name: macOS
|
||||||
|
os: macos
|
||||||
|
rust: 1.62.0
|
||||||
- name: Windows
|
- name: Windows
|
||||||
os: windows
|
os: windows
|
||||||
rust: nightly
|
rust: nightly
|
||||||
|
- name: Windows
|
||||||
|
os: windows
|
||||||
|
rust: 1.62.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
|
@ -30,6 +36,10 @@ jobs:
|
||||||
id: toolchain
|
id: toolchain
|
||||||
with:
|
with:
|
||||||
toolchain: ${{matrix.rust}}
|
toolchain: ${{matrix.rust}}
|
||||||
- name: Check ${{'${{steps.toolchain.outputs.cachekey}}'}}
|
- name: echo ${{'${{steps.toolchain.outputs.cachekey}}'}}
|
||||||
run: echo '${{steps.toolchain.outputs.cachekey}}'
|
run: echo '${{steps.toolchain.outputs.cachekey}}'
|
||||||
|
- name: check ${{'${{steps.toolchain.outputs.cachekey}}'}}
|
||||||
|
if: matrix.rust == '1.62.0'
|
||||||
|
run: cmp -s <(echo ${{steps.toolchain.outputs.cachekey}}) <(echo 20220627a831)
|
||||||
|
shell: bash
|
||||||
- run: rustc --version
|
- run: rustc --version
|
||||||
|
|
Loading…
Reference in a new issue