Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 92c6070

Browse files
committed
Extending test suite
1 parent 7f2a3dd commit 92c6070

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,25 @@ jobs:
1717
- run: npm run build
1818
- run: npm run test
1919

20-
install:
20+
install_from_tool_cache:
2121
runs-on: ubuntu-latest
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
crate:
26-
- cross # Available in the tool cache
27-
- ripgrep # Not available in the tool cache
2822
steps:
2923
- uses: actions/checkout@v2
3024
- uses: ./
3125
with:
32-
crate: ${{ matrix.crate }}
26+
crate: cross
27+
# To this point `cross` should be available
28+
# and `cargo` command will not attempt to install it once again
29+
- uses: actions-rs/cargo@v1
30+
with:
31+
command: check
32+
use-cross: true
33+
34+
install_missing_from_tool_cache:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v2
38+
- uses: ./
39+
with:
40+
crate: bat
41+
- run: bat package.json

0 commit comments

Comments
 (0)