File tree 3 files changed +3
-33
lines changed
3 files changed +3
-33
lines changed Original file line number Diff line number Diff line change 22
22
with :
23
23
toolchain : stable
24
24
25
- - name : Emit rustc version
26
- run : |
27
- rustc --version > .rustc-version
28
-
29
- - uses : actions/cache@v4
30
- with :
31
- path : |
32
- ~/.cargo/registry
33
- ~/.cargo/git
34
- target
35
- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
25
+ - uses : Swatinem/rust-cache@v2
36
26
37
27
- name : Build
38
28
run : |
Original file line number Diff line number Diff line change 27
27
with :
28
28
toolchain : stable
29
29
30
- - name : Emit rustc version
31
- run : |
32
- rustc --version > .rustc-version
33
-
34
- - uses : actions/cache@v4
35
- with :
36
- path : |
37
- ~/.cargo/registry
38
- ~/.cargo/git
39
- target
40
- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
30
+ - uses : Swatinem/rust-cache@v2
41
31
42
32
- name : Build
43
33
run : |
Original file line number Diff line number Diff line change 22
22
with :
23
23
toolchain : stable
24
24
25
- - name : Emit rustc version
26
- run : |
27
- rustc --version > .rustc-version
28
-
29
- - uses : actions/cache@v4
30
- with :
31
- path : |
32
- C:/Rust/.cargo/registry
33
- C:/Rust/.cargo/git
34
- target
35
- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
25
+ - uses : Swatinem/rust-cache@v2
36
26
37
27
- name : Build
38
28
run : |
You can’t perform that action at this time.
0 commit comments