forked from fairdevkit/rdf-resource-resolver
-
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.
reuse workflows from FAIRDataTeam/github-workflows
- Loading branch information
1 parent
e8128b3
commit 435602d
Showing
2 changed files
with
15 additions
and
47 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 |
---|---|---|
@@ -1,24 +1,13 @@ | ||
name: Maven CI | ||
|
||
on: [ push, pull_request ] | ||
on: | ||
- push | ||
- pull_request | ||
# enable manual trigger | ||
- workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
# temurin LTS versions | ||
version: [17, 21] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.version }} | ||
distribution: 'temurin' | ||
cache: maven | ||
|
||
- name: Maven build (skip gpg signing) | ||
run: mvn --batch-mode --update-snapshots --fail-fast -Dgpg.skip tidy:check com.mycila:license-maven-plugin:check com.github.spotbugs:spotbugs-maven-plugin:check verify | ||
test: | ||
uses: FAIRDataTeam/github-workflows/.github/workflows/maven-verify.yml@v1 | ||
with: | ||
mvn_options: 'tidy:check com.mycila:license-maven-plugin:check com.github.spotbugs:spotbugs-maven-plugin:check' |
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