File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 37
37
path : ~/.cargo
38
38
key : ${{ runner.os }}-test-cargo-${{ hashFiles('Cargo.lock') }}
39
39
- run : cargo fetch
40
+ - run : rustup component add llvm-tools-preview
41
+ - name : Install third-party binaries
42
+ uses : taiki-e/install-action@v2
43
+ with :
44
+ tool : cargo-nextest,cargo-llvm-cov,cargo-binstall,just
45
+ - run : just test
46
+ continue-on-error : true
47
+ - name : save build as artifact
48
+ uses : actions/upload-artifact@v4
49
+ with :
50
+ path : target/llvm-cov-target
51
+ name : cpp-linter-lib_tests-${{ runner.os }}-${{ github.run_id }}
52
+ retention-days : 1
40
53
41
54
test :
42
55
needs : [cache-deps]
@@ -113,6 +126,12 @@ jobs:
113
126
path : ~/.cargo
114
127
key : ${{ runner.os }}-test-cargo-${{ hashFiles('Cargo.lock') }}
115
128
129
+ - name : restore build from artifact
130
+ uses : actions/download-artifact@v4
131
+ with :
132
+ path : target/llvm-cov-target
133
+ name : cpp-linter-lib_tests-${{ runner.os }}-${{ github.run_id }}
134
+
116
135
- name : Collect Coverage
117
136
working-directory : cpp-linter-lib
118
137
env :
You can’t perform that action at this time.
0 commit comments