mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Create linter.yml
This commit is contained in:
parent
6411df2a44
commit
d4308396b2
1 changed files with 24 additions and 0 deletions
24
.github/workflows/linter.yml
vendored
Normal file
24
.github/workflows/linter.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Linter
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
# Allow manual triggering, refs https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
|
||||
workflow_dispatch:
|
||||
|
||||
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:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
reporter: 'github-pr-check'
|
||||
tool_name: 'testtool'
|
Loading…
Reference in a new issue