Skip to content

Commit

Permalink
feat(testing): add reviewdog GH action linting PRs with Maven Checkst…
Browse files Browse the repository at this point in the history
…yle plugin. #6070
  • Loading branch information
poikilotherm committed May 28, 2021
1 parent 52fee75 commit 749a33e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/reviewdog_checkstyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Maven CheckStyle Task
on:
pull_request:
paths:
- "**.java"

jobs:
checkstyle_job:
runs-on: ubuntu-latest
name: Checkstyle job
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run check style
uses: nikitasavinov/checkstyle-action@master
with:
fail_on_error: true
reporter: github-pr-review
checkstyle_config: checkstyle.xml
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 749a33e

Please sign in to comment.