Code Analysis Refactoring #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Check Java files with CheckStyle' | |
on: | |
pull_request: | |
paths: | |
- '**/*.java' | |
jobs: | |
checkstyle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest | |
uses: actions/checkout@v3 | |
- name: Run CheckStyle | |
uses: nikitasavinov/checkstyle-action@master | |
with: | |
level: error | |
fail_on_error: true | |
workdir: './src/main/java' | |
checkstyle_config: './checkstyle.xml' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |