1
1
---
2
2
exclude: ^(Cargo\.nix|crate-hashes\.json|nix/.*)$
3
3
4
- # See https://pre-commit.com for more information
5
- # See https://pre-commit.com/hooks.html for more hooks
6
4
repos:
7
5
- repo: https://github.com/pre-commit/pre-commit-hooks
8
- rev: v4 .6.0
6
+ rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # 4 .6.0
9
7
hooks:
10
8
- id: trailing-whitespace
11
9
- id: end-of-file-fixer
@@ -14,27 +12,27 @@ repos:
14
12
- id: detect-private-key
15
13
16
14
- repo: https://github.com/doublify/pre-commit-rust
17
- rev: v1 .0
15
+ rev: eeee35a89e69d5772bdee97db1a6a898467b686e # 1 .0
18
16
hooks:
19
17
- id: fmt
20
18
args: ["--all", "--", "--check"]
21
19
- id: clippy
22
20
args: ["--all-targets", "--", "-D", "warnings"]
23
21
24
22
- repo: https://github.com/adrienverge/yamllint
25
- rev: v1 .35.1
23
+ rev: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # 1 .35.1
26
24
hooks:
27
25
- id: yamllint
28
26
29
27
- repo: https://github.com/igorshubovych/markdownlint-cli
30
- rev: v0.40 .0
28
+ rev: f295829140d25717bc79368d3f966fc1f67a824f # 0.41 .0
31
29
hooks:
32
30
- id: markdownlint
33
31
types: [text]
34
32
files: \.md(\.j2)*$
35
33
36
34
- repo: https://github.com/koalaman/shellcheck-precommit
37
- rev: v0 .10.0
35
+ rev: 2491238703a5d3415bb2b7ff11388bf775372f29 # 0 .10.0
38
36
hooks:
39
37
- id: shellcheck
40
38
args: ["--severity=info"]
@@ -43,13 +41,23 @@ repos:
43
41
# If you do not, you will need to delete the cached ruff binary shown in the
44
42
# error message
45
43
- repo: https://github.com/astral-sh/ruff-pre-commit
46
- rev: v0.5.1
44
+ rev: f1ebc5730d98440041cc43e4d69829ad598ae1e7 # 0.6.3
47
45
hooks:
48
46
# Run the linter.
49
47
- id: ruff
50
48
# Run the formatter.
51
49
- id: ruff-format
52
50
51
+ - repo: https://github.com/rhysd/actionlint
52
+ rev: 62dc61a45fc95efe8c800af7a557ab0b9165d63b # 1.7.1
53
+ hooks:
54
+ - id: actionlint
55
+
56
+ - repo: https://github.com/hadolint/hadolint
57
+ rev: b3555ba9c2bfd9401e79f2f0da68dd1ae38e10c7 # 2.12.0
58
+ hooks:
59
+ - id: hadolint
60
+
53
61
- repo: local
54
62
hooks:
55
63
- id: regenerate-charts
0 commit comments