mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-12-22 15:45:50 +02:00
Add coverage of a cargo invocation in CI
This commit is contained in:
parent
6395c05ffc
commit
82765d8744
1 changed files with 6 additions and 0 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -36,3 +36,9 @@ jobs:
|
||||||
run: cmp -s <(echo ${{steps.toolchain.outputs.cachekey}}) <(echo 20220627a831)
|
run: cmp -s <(echo ${{steps.toolchain.outputs.cachekey}}) <(echo 20220627a831)
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: rustc --version
|
- run: rustc --version
|
||||||
|
- run: cargo init . --bin --name CI
|
||||||
|
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
||||||
|
- run: cargo add syn@1
|
||||||
|
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
||||||
|
- run: cargo check
|
||||||
|
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
||||||
|
|
Loading…
Reference in a new issue