Skip to content

Commit ec271bc

Browse files
committed
add reporter: 'github-pr-review'
1 parent c802f98 commit ec271bc

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/check-style.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
name: check-style.yml
2-
on: pull_request
1+
name: check-style
2+
on: [pull_request]
33

44
jobs:
55
checkstyle_job:
66
runs-on: ubuntu-latest
77
name: Checkstyle job
88
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v2
11-
- name: Run check style
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
12+
- name: Run Checkstyle (produce XML)
13+
id: checkstyle
1214
uses: nikitasavinov/checkstyle-action@master
1315
with:
1416
github_token: ${{ secrets.GITHUB_TOKEN }}
15-
reporter: 'github-pr-check'
16-
tool_name: 'testtool'
17+
reporter: 'github-pr-review'
18+
tool_name: 'checkstyle'
1719
checkstyle_config: checkstyle.xml
18-
filter_mode: diff_context
1920
checkstyle_version: 10.17.0
2021
level: 'error'
21-
fail_on_error: true
22+
fail_on_error: false

0 commit comments

Comments
 (0)