@@ -64,37 +64,19 @@ runs:
64
64
version : " 23.4"
65
65
repo-token : ${{ inputs.github-token }}
66
66
67
- - name : Cache nextest on linux
68
- id : cache-nextest
69
- uses : actions/cache@v4
67
+ - name : Install cargo-nextest
70
68
if : inputs.need-nextest == 'true'
69
+ uses : taiki-e/install-action@v2
71
70
with :
72
- path : |
73
- ~/.cargo/bin/cargo-nextest
74
- ~/.cargo/bin/cargo-nextest.exe
75
- key : r0-${{runner.os}}-nextest-0.9.72
76
-
77
- - name : Build nextest if not cached
78
- if : steps.cache-nextest.outputs.cache-hit != 'true' && inputs.need-nextest == 'true'
79
- shell : bash
80
- run :
cargo install [email protected] --locked
71
+
81
72
82
- - name : Cache cargo-deny on linux
83
- id : cache-deny
84
- uses : actions/cache@v4
73
+ - name : Install cargo-deny
85
74
if : inputs.need-deny == 'true'
75
+ uses : taiki-e/install-action@v2
86
76
with :
87
- path : |
88
- ~/.cargo/bin/cargo-deny
89
- ~/.cargo/bin/cargo-deny.exe
90
- key : r0-${{runner.os}}-deny-0.14.22
91
-
92
- - name : Build cargo-deny if not cached
93
- if : steps.cache-deny.outputs.cache-hit != 'true' && inputs.need-deny == 'true'
94
- shell : bash
95
- run :
cargo install [email protected] --locked
77
+
96
78
97
- - name : Setup rust on linux
79
+ - name : Setup rocksdb on linux
98
80
if : runner.os == 'Linux' && inputs.need-rocksdb == 'true'
99
81
shell : bash
100
82
run : |
0 commit comments