Skip to content

Commit

Permalink
Use the recommended actionlint hook in pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tdcosta100 committed Oct 28, 2024
1 parent ab00edf commit 4d09656
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.2
hooks:
Expand All @@ -13,18 +13,16 @@ repos:
- repo: https://github.com/keith/pre-commit-buildifier
rev: 7.3.1
hooks:
- id: buildifier
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: v1.7.3.17
- id: buildifier
- repo: https://github.com/rhysd/actionlint
rev: v1.7.3
hooks:
- id: actionlint
additional_dependencies: [shellcheck-py]
- id: actionlint
- repo: https://github.com/nicklockwood/SwiftFormat
rev: "0.54.6"
hooks:
- id: swiftformat
args: [--swiftversion, "5.8"]
- id: swiftformat
args: [--swiftversion, "5.8"]
ci:
# sometimes fails https://github.com/keith/pre-commit-buildifier/issues/13
skip: [buildifier]

0 comments on commit 4d09656

Please sign in to comment.