Skip to content

Commit

Permalink
Update PR.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
as3810t authored Nov 3, 2024
1 parent cd0c75b commit 4228981
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning
reporter: github-pr-check
fail_on_error: true
filter_mode: nofilter
prettier:
name: prettier
Expand All @@ -43,8 +41,6 @@ jobs:
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
level: warning
fail_on_error: true
filter_mode: nofilter
prettier_flags: "**/*.{js,sol,ts,json,jsx,tsx}"
solhint:
Expand All @@ -68,7 +64,7 @@ jobs:
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx solhint -f sarif 'contracts/**/*.sol' | reviewdog -f=sarif -reporter=github-pr-check -filter-mode=nofilter -fail-level=error -name=solhint
npx solhint -f sarif 'contracts/**/*.sol' | reviewdog -f=sarif -reporter=github-pr-check -filter-mode=nofilter -name=solhint
coverage:
name: coverage
runs-on: ubuntu-latest
Expand Down Expand Up @@ -133,5 +129,5 @@ jobs:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cat sarif.json
cat sarif.json | reviewdog -f=sarif -reporter=github-pr-check -filter-mode=nofilter -level=info -name=slither
cat sarif.json | reviewdog -f=sarif -reporter=github-pr-check -filter-mode=nofilter -name=slither

0 comments on commit 4228981

Please sign in to comment.