Add CI with SpotBugs and fix Errors found by SpotBugs #5
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: Run checkstyle | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
checkstyle: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: create annotation | |
run: echo "::add-matcher::${{ github.workspace }}/.github/problem-matcher.json" | |
- name: run checkstyle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
arguments: -PenvIsCi checkstyleMain checkstyleTest |