File tree 1 file changed +25
-10
lines changed
1 file changed +25
-10
lines changed Original file line number Diff line number Diff line change 1
- # Simple workflow for deploying static content to GitHub Pages
2
- name : Deploy static content to Pages
1
+ name : ☣️ Coverage Report ☣️
3
2
4
3
on :
5
- # Runs on pushes targeting the default branch
6
- push :
7
- branches : ["feature/version-9"]
8
-
9
- # Allows you to run this workflow manually from the Actions tab
10
4
workflow_dispatch :
5
+ workflow_run :
6
+ workflows : [🦀 Rust 🦀]
7
+ types :
8
+ - completed
11
9
12
10
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
11
permissions :
@@ -27,16 +25,33 @@ jobs:
27
25
environment :
28
26
name : github-pages
29
27
url : ${{ steps.deployment.outputs.page_url }}
30
- runs-on : ubuntu-latest
28
+ runs-on : ${{ matrix.os }}
29
+ strategy :
30
+ matrix :
31
+ include :
32
+ - os : ubuntu-latest
33
+ rust : nightly
34
+ target : x86_64-unknown-linux-gnu
31
35
steps :
32
- - name : Checkout
36
+ - name : ✅ Checkout ✅
33
37
uses : actions/checkout@v4
38
+ - name : 💵 Cache 💵
39
+ uses : actions/cache@v4
40
+ with :
41
+ path : |
42
+ ~/.cargo/bin/
43
+ ~/.cargo/registry/index/
44
+ ~/.cargo/registry/cache/
45
+ ~/.cargo/git/db/
46
+ target/llvm-cov
47
+ key : ${{ runner.os }}-${{ matrix.rust }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock', '**/main.yml') }}
48
+ restore-keys : |
49
+ ${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock', '**/main.yml') }}
34
50
- name : Setup Pages
35
51
uses : actions/configure-pages@v4
36
52
- name : Upload artifact
37
53
uses : actions/upload-pages-artifact@v3
38
54
with :
39
- # Upload entire repository
40
55
path : ' target/llvm-cov/html'
41
56
- name : Deploy to GitHub Pages
42
57
id : deployment
You can’t perform that action at this time.
0 commit comments