Skip to content

Commit

Permalink
Run reviewdog first
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Apr 4, 2024
1 parent 01f09fb commit a04129a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2

# https://github.com/reviewdog/action-actionlint
- name: Check workflow files
uses: reviewdog/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
actionlint_flags: -color -shellcheck=
fail_on_error: true
level: info

# https://github.com/rhysd/actionlint/blob/main/docs/usage.md
- name: Check workflow files
env:
ACTIONLINT_VERSION: 1.6.27
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color
./actionlint -color -shellcheck=
shell: bash

# https://github.com/reviewdog/action-actionlint
- name: Check workflow files
uses: reviewdog/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
actionlint_flags: -color
fail_on_error: true
level: info

0 comments on commit a04129a

Please sign in to comment.