forked from omegat-org/omegat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): show spotbugs errors on console
- Add spotbugsReport task in gradle - Run spotbugsReport on CI with continueOnFailure = true in order to execute even when spotbugsMain failed. - hide spotbugsLANG in other group Signed-off-by: Hiroshi Miura <[email protected]>
- Loading branch information
Showing
3 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Run SpotBugs | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- releases/* | ||
pull_request: | ||
|
||
jobs: | ||
spotbugs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
- name: run spotbugs | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: --continue -PenvIsCi spotbugsMain spotbugsTest |
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
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