Skip to content

Commit 84107a1

Browse files
committed
Add check style notification
1 parent 0b4e934 commit 84107a1

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/check-style.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: check-style.yml
2+
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
12+
uses: nikitasavinov/checkstyle-action@master
13+
with:
14+
github_token: ${{ secrets.GITHUB_TOKEN }}
15+
reporter: 'github-pr-check'
16+
tool_name: 'testtool'
17+
checkstyle_config: checkstyle.xml

0 commit comments

Comments
 (0)