From b5ac760d48e5d8e118062e158cea1b0d06abab85 Mon Sep 17 00:00:00 2001 From: Gilbert Kwan Date: Wed, 15 May 2024 16:30:18 -0400 Subject: [PATCH] update superlinter to latest Signed-off-by: Gilbert Kwan --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37be7a6..7379358 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: run: bash ./tools/pr-checker/checker.sh ${{ github.repository }} ${{ github.event.pull_request.number }} | tee checker.log - id: Lint-Code-Base if: always() - uses: github/super-linter@v3.17.0 + uses: github/super-linter@latest env: VALIDATE_ALL_CODEBASE: false GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -32,8 +32,8 @@ jobs: - name: Summary if: always() run: | - cat ./checker.log | tail -n +2; echo "====== Super Linter ======" - cat ./super-linter.log | sed -n '/.*The script has completed.*/,$p' | tail -n +4 | sed 's/.*\(\[[A-Z]\+\]\)/\1/' + < ./checker.log tail -n +2; echo "====== Super Linter ======" + < ./super-linter.log sed -n '/.*The script has completed.*/,$p' | tail -n +4 | sed 's/.*\(\[[A-Z]\+\]\)/\1/' echo "====== Examine logs in Checker and Super-Linter steps for more details ======" if [ '${{ steps.Checker.outcome }}' != 'success' ] || [ '${{ steps.Lint-Code-Base.outcome }}' != 'success' ]; then exit 1; fi test-app: