-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This new workflow would build the new project as well as running SpotBugs (from maven plugin) and display review at the end of the workflow - Related #123
- Loading branch information
1 parent
e343bc7
commit ea3e360
Showing
6 changed files
with
100 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created | ||
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path | ||
|
||
name: "Pull Request validation" | ||
|
||
on: | ||
# Triggers the workflow on pull request events | ||
pull_request: | ||
workflow_dispatch: # For manual trigger | ||
|
||
jobs: | ||
|
||
compiling-gama: | ||
name: Compiling GAMA | ||
uses: ./.github/workflows/travis-build.yaml | ||
with: | ||
get_testing_compiled_archives: false | ||
get_all_archives_for_release: false | ||
RUN_SPOTBUGS: true | ||
|
||
spotbugs-result: | ||
name: Display Spotbugs results | ||
runs-on: ubuntu-latest | ||
needs: compiling-gama | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: result-spotbugs | ||
|
||
- name: Display structure of downloaded files | ||
run: ls -lahR | ||
|
||
- uses: jwgmeligmeyling/spotbugs-github-action@master | ||
with: | ||
path: '**/spotbugsXml.xml' |
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
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