Update to v3.77 #1001
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: Run CheckStyle | ||
on: pull_request, merge_group | ||
jobs: | ||
checkstyle_job: | ||
runs-on: ubuntu-latest | ||
name: Checkstyle job | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Run check style | ||
uses: nikitasavinov/checkstyle-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
checkstyle_config: '.github/checkstyle-rules.xml' | ||
reporter: 'github-pr-review' | ||
# filter_mode: 'file' # https://github.com/nikitasavinov/checkstyle-action | ||
fail_on_error: true | ||
level: 'error' | ||
tool_name: 'CheckStyle' |