File tree Expand file tree Collapse file tree 1 file changed +3
-26
lines changed Expand file tree Collapse file tree 1 file changed +3
-26
lines changed Original file line number Diff line number Diff line change 6
6
7
7
env :
8
8
CARGO_TERM_COLOR : always
9
- RUST_TOOLCHAIN_VERSION : " 1.81 .0"
9
+ RUST_TOOLCHAIN_VERSION : " 1.82 .0"
10
10
HADOLINT_VERSION : " v1.17.6"
11
11
12
12
jobs :
16
16
- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
17
17
with :
18
18
fetch-depth : 0
19
- - uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1 .0
19
+ - uses : stackabletech/ actions/run-pre-commit@9bd13255f286e4b7a654617268abe1b2f37c3e0a # v0.3 .0
20
20
with :
21
- python-version : ' 3.12'
22
- - uses : dtolnay/rust-toolchain@master
23
- with :
24
- toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
25
- components : rustfmt,clippy
26
- - name : Setup Hadolint
27
- shell : bash
28
- run : |
29
- set -euo pipefail
30
-
31
- LOCATION_DIR="$HOME/.local/bin"
32
- LOCATION_BIN="$LOCATION_DIR/hadolint"
33
-
34
- SYSTEM=$(uname -s)
35
- ARCH=$(uname -m)
36
-
37
- mkdir -p "$LOCATION_DIR"
38
- curl -sL -o "${LOCATION_BIN}" "https://github.com/hadolint/hadolint/releases/download/${{ env.HADOLINT_VERSION }}/hadolint-$SYSTEM-$ARCH"
39
- chmod 700 "${LOCATION_BIN}"
40
-
41
- echo "$LOCATION_DIR" >> "$GITHUB_PATH"
42
- - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
43
- with :
44
- extra_args : " --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}"
21
+ rust : ${{ env.RUST_TOOLCHAIN_VERSION }}
You can’t perform that action at this time.
0 commit comments