Skip to content

Commit c8acf68

Browse files
authored
Merge pull request #57 from dtolnay/ci
Add coverage of a cargo invocation in CI
2 parents 6395c05 + 82765d8 commit c8acf68

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ jobs:
3636
run: cmp -s <(echo ${{steps.toolchain.outputs.cachekey}}) <(echo 20220627a831)
3737
shell: bash
3838
- run: rustc --version
39+
- run: cargo init . --bin --name CI
40+
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
41+
- run: cargo add syn@1
42+
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
43+
- run: cargo check
44+
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'

0 commit comments

Comments
 (0)