Skip to content

Commit 94164e9

Browse files
committed
Run clippy without clippy check
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 0c1059c commit 94164e9

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/clippy.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,18 @@ jobs:
2020
name: Clippy Check
2121
runs-on: ubuntu-latest
2222
steps:
23+
- name: Checkout the latest code
24+
id: git_checkout
25+
uses: actions/checkout@v3
26+
- name: Define Rust Toolchain
27+
id: define_rust_toolchain
28+
run: echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV
29+
- name: Setup Rust Toolchain
30+
id: setup_rust_toolchain
31+
uses: actions-rust-lang/setup-rust-toolchain@v1
32+
with:
33+
toolchain: ${{ env.RUST_TOOLCHAIN }}
34+
components: clippy
2335
- name: Clippy
2436
id: clippy
25-
uses: actions-rs/clippy-check@v1
26-
with:
27-
alias: "clippy-stacks"
37+
run: cargo clippy-stacks

0 commit comments

Comments
 (0)