Skip to content

Commit 2048f43

Browse files
committed
Add actionlint to pre-commit and fix shellcheck warning
1 parent b0906d6 commit 2048f43

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
run: ci/install-binary.sh tflint
4444

4545
- name: Run pre-commit tests
46-
run: PATH="~/bin:$PATH" pre-commit run --all-files
46+
run: PATH="$HOME/bin:$PATH" pre-commit run --all-files

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ repos:
1212
- --autofix
1313
- id: trailing-whitespace
1414

15+
- repo: https://github.com/rhysd/actionlint
16+
rev: v1.7.7
17+
hooks:
18+
- id: actionlint
19+
1520
- repo: https://github.com/igorshubovych/markdownlint-cli
1621
rev: v0.45.0
1722
hooks:

0 commit comments

Comments
 (0)