Skip to content

Commit 0606328

Browse files
Use actionlint Docker image
- Use actionlint from a Docker image for consistency with other repos. - Bump actionlint to v1.6.26.
1 parent 8672eee commit 0606328

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ jobs:
3030
- name: Checkout code
3131
uses: actions/checkout@v4
3232

33+
- name: Add actionlint problem matcher
34+
run: echo "::add-matcher::.github/actionlint-matcher.json"
35+
3336
- name: Lint workflows
34-
shell: bash
35-
env:
36-
ACTIONLINT_VERSION: '7b75d16d41920ec126e6f3269db0c6f3ab613c38' # v1.6.25
37-
run: |
38-
echo "::add-matcher::.github/actionlint-matcher.json"
39-
bash <(curl --silent --show-error "https://raw.githubusercontent.com/rhysd/actionlint/${ACTIONLINT_VERSION}/scripts/download-actionlint.bash")
40-
./actionlint -color
37+
uses: docker://rhysd/actionlint@sha256:2eb91a78b5a19140be099c7b4262d298c2567f2a9f27e10ed2a4323c5bcface8 # v1.6.26
38+
with:
39+
args: -color

0 commit comments

Comments
 (0)