3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-22 00:39:31 +01:00

Add coverage of a cargo invocation in CI

This commit is contained in:
David Tolnay 2023-01-31 12:20:49 -08:00
parent 6395c05ffc
commit 82765d8744
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -36,3 +36,9 @@ jobs:
run: cmp -s <(echo ${{steps.toolchain.outputs.cachekey}}) <(echo 20220627a831)
shell: bash
- 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'