From a04129a6b7037e554c0fecc1aa360c5ee6964516 Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Thu, 4 Apr 2024 19:03:49 -0400 Subject: [PATCH] Run reviewdog first Signed-off-by: Kyle Harding --- .github/workflows/lint.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9cc40b902..e42257146 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,6 +13,15 @@ jobs: - name: Checkout uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 + # https://github.com/reviewdog/action-actionlint + - name: Check workflow files + uses: reviewdog/action-actionlint@v1.43.0 + 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: @@ -20,14 +29,5 @@ jobs: 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/action-actionlint@v1.43.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - actionlint_flags: -color - fail_on_error: true - level: info