File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
uses : actions/cache@v4
17
17
with :
18
18
path : ~/.cargo
19
- key : ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
19
+ key : ${{ runner.os }}-docs- cargo-${{ hashFiles('Cargo.lock') }}
20
20
- run : cargo fetch
21
21
22
22
build-mdbook :
30
30
uses : actions/cache/restore@v4
31
31
with :
32
32
path : ~/.cargo
33
- key : ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
33
+ key : ${{ runner.os }}-docs- cargo-${{ hashFiles('Cargo.lock') }}
34
34
- name : Install mdbook
35
35
uses : taiki-e/install-action@v2
36
36
with :
62
62
uses : actions/cache/restore@v4
63
63
with :
64
64
path : ~/.cargo
65
- key : ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
65
+ key : ${{ runner.os }}-docs- cargo-${{ hashFiles('Cargo.lock') }}
66
66
- run : cargo doc --no-deps --manifest-path cpp-linter-lib/Cargo.toml
67
67
- name : upload rustdoc build as artifact
68
68
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 23
23
24
24
jobs :
25
25
cache-deps :
26
- runs-on : ubuntu-latest
26
+ runs-on : ${{ matrix.os }}
27
27
strategy :
28
28
fail-fast : false
29
29
matrix :
30
- os : [' windows-latest' , ubuntu-latest]
30
+ os : [windows-latest, ubuntu-latest]
31
31
steps :
32
32
- run : rustup update --no-self-update
33
33
- uses : actions/checkout@v4
34
34
- name : Cache .cargo locked resources
35
35
uses : actions/cache@v4
36
36
with :
37
37
path : ~/.cargo
38
- key : ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
38
+ key : ${{ runner.os }}-test- cargo-${{ hashFiles('Cargo.lock') }}
39
39
- run : cargo fetch
40
40
41
41
test :
@@ -111,7 +111,7 @@ jobs:
111
111
uses : actions/cache/restore@v4
112
112
with :
113
113
path : ~/.cargo
114
- key : ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
114
+ key : ${{ runner.os }}-test- cargo-${{ hashFiles('Cargo.lock') }}
115
115
116
116
- name : Collect Coverage
117
117
working-directory : cpp-linter-lib
You can’t perform that action at this time.
0 commit comments