File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 23
23
24
24
# These steps are lifted from the Rust CI workflow, cargo-test job.
25
25
- op : add
26
- path : /jobs/test/steps/3
26
+ path : /jobs/test/steps/2
27
27
value :
28
28
uses : actions-rs/toolchain@v1
29
29
with :
33
33
34
34
# Modify the yarn actions.
35
35
- op : replace
36
- path : /jobs/test/steps/4 /run
36
+ path : /jobs/test/steps/3 /run
37
37
value : yarn install --ignore-scripts
38
38
- op : add
39
- path : /jobs/test/steps/5
39
+ path : /jobs/test/steps/4
40
40
value :
41
41
name : Compile
42
42
run : yarn run compile
43
43
44
44
# Only check coverage in one of the matrix job instances.
45
45
- op : add
46
- path : /jobs/test/steps/7 /if
46
+ path : /jobs/test/steps/6 /if
47
47
value : ${{ contains(matrix.os, 'ubuntu') && matrix.node_version == '10' && matrix.rust_version == 'stable' && github.base_ref != '' }}
48
48
49
49
# Also run on musl. That means we need to run it in a Docker container. To do that, we copy the entire job and modify its
72
72
run : echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
73
73
# We don't need to run setup-node inside of a node docker image.
74
74
- op : remove
75
- path : /jobs/test-docker/steps/4
75
+ path : /jobs/test-docker/steps/3
76
76
# No need to check test coverage here, since we do it in the first matrix build.
77
77
- op : remove
78
- path : /jobs/test-docker/steps/8
78
+ path : /jobs/test-docker/steps/7
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ jobs:
29
29
fail-fast : false
30
30
steps :
31
31
- uses : actions/checkout@v2
32
- - uses : c-hive/gha-yarn-cache@v1
33
-
32
+ - uses : actions/setup-node@v2
34
33
with :
35
34
node-version : ${{ matrix.node_version }}
35
+ cache : yarn
36
36
- uses : actions-rs/toolchain@v1
37
37
with :
38
38
profile : minimal
70
70
- run : apk add build-base git python3 wget
71
71
- run : echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
72
72
- uses : actions/checkout@v2
73
- - uses : c-hive/gha-yarn-cache@v1
74
73
- uses : actions-rs/toolchain@v1
75
74
with :
76
75
profile : minimal
You can’t perform that action at this time.
0 commit comments