We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c802f98 commit ec271bcCopy full SHA for ec271bc
1 file changed
.github/workflows/check-style.yml
@@ -1,21 +1,22 @@
1
-name: check-style.yml
2
-on: pull_request
+name: check-style
+on: [pull_request]
3
4
jobs:
5
checkstyle_job:
6
runs-on: ubuntu-latest
7
name: Checkstyle job
8
steps:
9
- - name: Checkout
10
- uses: actions/checkout@v2
11
- - name: Run check style
+ - name: Checkout code
+ uses: actions/checkout@v4
+
12
+ - name: Run Checkstyle (produce XML)
13
+ id: checkstyle
14
uses: nikitasavinov/checkstyle-action@master
15
with:
16
github_token: ${{ secrets.GITHUB_TOKEN }}
- reporter: 'github-pr-check'
- tool_name: 'testtool'
17
+ reporter: 'github-pr-review'
18
+ tool_name: 'checkstyle'
19
checkstyle_config: checkstyle.xml
- filter_mode: diff_context
20
checkstyle_version: 10.17.0
21
level: 'error'
- fail_on_error: true
22
+ fail_on_error: false
0 commit comments