File tree 1 file changed +24
-2
lines changed
1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 18
18
uses : prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
19
19
with :
20
20
environments : default lint
21
- - uses : Swatinem/rust-cache@v2
21
+ - name : Set up cargo cache # use https://github.com/Swatinem/rust-cache once whitelisted
22
+ uses : actions/cache@v3
23
+ continue-on-error : false
24
+ with :
25
+ path : |
26
+ ~/.cargo/bin/
27
+ ~/.cargo/registry/index/
28
+ ~/.cargo/registry/cache/
29
+ ~/.cargo/git/db/
30
+ target/
31
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
32
+ restore-keys : ${{ runner.os }}-cargo-
22
33
- name : pre-commit
23
34
run : pixi run pre-commit-run --color=always --show-diff-on-failure
24
35
34
45
fetch-depth : 0
35
46
- name : Set up pixi
36
47
uses : prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
37
- - uses : Swatinem/rust-cache@v2
48
+ - name : Set up cargo cache # use https://github.com/Swatinem/rust-cache once whitelisted
49
+ uses : actions/cache@v3
50
+ continue-on-error : false
51
+ with :
52
+ path : |
53
+ ~/.cargo/bin/
54
+ ~/.cargo/registry/index/
55
+ ~/.cargo/registry/cache/
56
+ ~/.cargo/git/db/
57
+ target/
58
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
59
+ restore-keys : ${{ runner.os }}-cargo-
38
60
- name : Run test
39
61
run : pixi run test
You can’t perform that action at this time.
0 commit comments