Skip to content

Commit

Permalink
Merge pull request #236 from OpenLiberty/update-superlinter
Browse files Browse the repository at this point in the history
update test.yml
  • Loading branch information
gkwan-ibm authored May 15, 2024
2 parents 0f6aa37 + 09bedee commit 7b6aaca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand All @@ -59,7 +59,7 @@ jobs:
if: always()
run: |
logsPath=$(sudo find . -name "console.log");
sudo cat $logsPath | sudo grep Launching
sudo cat "$logsPath" | sudo grep Launching
- name: Archive server logs if failed
if: failure()
Expand Down

0 comments on commit 7b6aaca

Please sign in to comment.