File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,20 @@ jobs:
13
13
matrix :
14
14
version : [community, enterprise]
15
15
steps :
16
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17
- - run : rustup component add clippy
18
- - uses : actions-rs/clippy-check@v1
16
+ - uses : doctolib/actions/checkout@main
17
+
18
+ - name : Install rust
19
+ uses : dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # v1
19
20
with :
20
- token : ${{ secrets.GITHUB_TOKEN }}
21
- name : Clippy
22
- args : --features=${{ matrix.version }}
21
+ toolchain : ${{ env.RUST_VERSION }}
22
+ targets : ${{ inputs.target }}
23
+
24
+ - run : rustup component add clippy
25
+
26
+ - name : Clippy check
27
+ shell : bash
28
+ run : |
29
+ set +e
30
+ # shellcheck disable=SC2046
31
+ cargo clippy --color always --features=${{ matrix.version }}
32
+ exit "${PIPESTATUS[0]}"
You can’t perform that action at this time.
0 commit comments