File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -51,26 +51,17 @@ jobs:
51
51
# - cargo_deny
52
52
- cargo_toml_files
53
53
steps :
54
- - uses : actions/checkout@v3
55
- - name : Install Rust
56
- uses : actions-rs/ toolchain@v1
54
+ - uses : actions/checkout@v4
55
+ - uses : taiki-e/install-action@protoc
56
+ - uses : dtolnay/rust- toolchain@beta
57
57
with :
58
58
profile : minimal
59
59
toolchain : nightly
60
60
components : rustfmt, clippy
61
- # - name: Rust Cache
62
- # uses: Swatinem/rust-cache@v2
63
- # continue-on-error: false
64
- # with:
65
- # path: |
66
- # ~/.cargo/bin
67
- # ~/.cargo/registry/index/
68
- # ~/.cargo/registry/cache/
69
- # ~/.cargo/git/db/
70
- # target/
71
- # key: ${{ runner.os }}-sdk-rust-${{ hashFiles('**/Cargo.lock') }}
72
- # restore-keys: |
73
- # ${{ runner.os }}-sdk-rust-
61
+ - uses : Swatinem/rust-cache@v2
62
+ key : ${{ runner.os }}-sdk-rust-${{ hashFiles('**/Cargo.lock') }}
63
+ restore-keys : |
64
+ ${{ runner.os }}-sdk-rust-
74
65
- name : Check cargo version
75
66
run : cargo --version
76
67
- name : Format
You can’t perform that action at this time.
0 commit comments