This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
fix(deps): update dependency org.xerial:sqlite-jdbc to v3.43.2.2 #435
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check using System.out/err.print | |
on: [ pull_request_target ] | |
jobs: | |
check-system-print: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup reviewdog | |
uses: reviewdog/action-setup@v1 | |
- name: Check using System.out.print | |
run: | | |
COUNT=`grep -rEn "System\.(out|err)\.print" --include=*.java src/main | tee ../system-prints.txt | wc -l || true` | |
echo count: $COUNT | |
cat ../system-prints.txt | |
cat ../system-prints.txt | reviewdog -efm="%f:%l:%m" -name="Check using System.out/err.print" -reporter=github-pr-review -level=warning | |
if [ "$COUNT" != "0" ]; then | |
echo "Found System.out/err.print in Java source files" | |
exit 1 | |
fi | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |