File tree Expand file tree Collapse file tree 1 file changed +4
-28
lines changed
Expand file tree Collapse file tree 1 file changed +4
-28
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,11 @@ jobs:
1717 steps :
1818 - uses : actions/checkout@v3
1919
20- - uses : actions-rs/ toolchain@v1
20+ - uses : dtolnay/rust- toolchain@master
2121 with :
22- profile : minimal
2322 toolchain : nightly
24- default : true
2523
26- - uses : actions/cache@v3
27- with :
28- path : |
29- ~/.cargo/bin
30- ~/.cargo/registry/index
31- ~/.cargo/registry/cache
32- ~/.cargo/git/db
33- ./target
34- key : ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
35- restore-keys : |
36- ${{ runner.os }}-cargo-build-
24+ - uses : Swatinem/rust-cache@v2
3725
3826 - run : cargo publish
3927 env :
@@ -72,23 +60,11 @@ jobs:
7260 with :
7361 repo-token : ${{ secrets.CUSTOM_GITHUB_TOKEN }}
7462
75- - uses : actions-rs/ toolchain@v1
63+ - uses : dtolnay/rust- toolchain@master
7664 with :
77- profile : minimal
7865 toolchain : nightly
79- default : true
8066
81- - uses : actions/cache@v3
82- with :
83- path : |
84- ~/.cargo/bin
85- ~/.cargo/registry/index
86- ~/.cargo/registry/cache
87- ~/.cargo/git/db
88- ./target
89- key : ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
90- restore-keys : |
91- ${{ runner.os }}-cargo-build-
67+ - uses : Swatinem/rust-cache@v2
9268
9369 - run : task build:release
9470
You can’t perform that action at this time.
0 commit comments