Skip to content

Commit

Permalink
Use actionlint Docker image
Browse files Browse the repository at this point in the history
- Use actionlint from a Docker image for consistency with other repos.
- Bump actionlint to v1.6.26.
  • Loading branch information
martincostello authored Sep 27, 2023
1 parent 68cab74 commit a18c2ce
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

- name: Add actionlint problem matcher
run: echo "::add-matcher::.github/actionlint-matcher.json"

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

0 comments on commit a18c2ce

Please sign in to comment.