Skip to content

Commit e894365

Browse files
author
Hergy Fongue
committed
review some steps
Signed-off-by: Hergy Fongue <hergy.fongue@ext.markant.com>
1 parent 3c8ce6c commit e894365

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/linter.yaml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,26 +51,17 @@ jobs:
5151
# - cargo_deny
5252
- cargo_toml_files
5353
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
5757
with:
5858
profile: minimal
5959
toolchain: nightly
6060
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-
7465
- name: Check cargo version
7566
run: cargo --version
7667
- name: Format

0 commit comments

Comments
 (0)