File tree 1 file changed +4
-22
lines changed
1 file changed +4
-22
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
- - name : Set up cargo cache # use https://github.com/Swatinem/rust-cache once whitelisted
22
- uses : actions/cache@v3
23
- continue-on-error : false
21
+ - uses : Swatinem/rust-cache@v2
24
22
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-lint-${{ hashFiles('**/Cargo.lock') }}
32
- restore-keys : ${{ runner.os }}-cargo-
23
+ key : " pre-commit"
33
24
- name : pre-commit
34
25
run : pixi run pre-commit-run --color=always --show-diff-on-failure
35
26
48
39
fetch-depth : 0
49
40
- name : Set up pixi
50
41
uses : prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
51
- - name : Set up cargo cache # use https://github.com/Swatinem/rust-cache once whitelisted
52
- uses : actions/cache@v3
53
- continue-on-error : false
42
+ - uses : Swatinem/rust-cache@v2
54
43
with :
55
- path : |
56
- ~/.cargo/bin/
57
- ~/.cargo/registry/index/
58
- ~/.cargo/registry/cache/
59
- ~/.cargo/git/db/
60
- target/
61
- key : ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
62
- restore-keys : ${{ runner.os }}-cargo-
44
+ key : " tests"
63
45
- name : Run test
64
46
run : pixi run test
You can’t perform that action at this time.
0 commit comments