-
-
Notifications
You must be signed in to change notification settings - Fork 6
29 lines (24 loc) · 746 Bytes
/
pr_pre-commit.yaml
File metadata and controls
29 lines (24 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
name: pre-commit
on:
pull_request:
permissions:
contents: read
env:
# Keep in sync with across other repos like operator-rs and operator-templating
RUST_TOOLCHAIN_VERSION: "nightly-2025-10-23"
HADOLINT_VERSION: "v2.14.0"
PYTHON_VERSION: "3.14"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
fetch-depth: 0
- uses: stackabletech/actions/run-pre-commit@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1
with:
python-version: ${{ env.PYTHON_VERSION }}
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}
hadolint: ${{ env.HADOLINT_VERSION }}