-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidating commits to migrate to GHA.
- Loading branch information
1 parent
9dba90c
commit 4e9b0d3
Showing
4 changed files
with
58 additions
and
20 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,55 @@ | ||
name: Build Status | ||
|
||
on: | ||
push: | ||
# Run tests on any push to feature branches. | ||
branches: [ "master", "main", "DS-[0-9]+*", "ubid-test" ] | ||
pull_request: | ||
branches: [ "master", "main" ] | ||
|
||
jobs: | ||
# Run an explicit Checkstyle stage to highlight any linting errors. | ||
checkstyle: | ||
name: mvn checkstyle | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install minimum-supported JDK for Checkstyle | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: 'temurin' | ||
cache: maven | ||
|
||
- name: Checkstyle | ||
run: | | ||
./mvnw checkstyle:check -Dcheckstyle.config.location=config/scim2-parent-checkstyle.xml | ||
build: | ||
name: mvn package | ||
runs-on: ubuntu-latest | ||
needs: checkstyle | ||
|
||
strategy: | ||
matrix: | ||
# Compile and build with supported LTS releases of Java. | ||
java-version: [ 11, 17, "21-ea" ] | ||
|
||
steps: | ||
- run: | | ||
echo "This job was triggered by the '${{ github.event_name }}' event." | ||
- run: | | ||
echo "The branch name is '${{ github.ref }}'." | ||
- uses: actions/checkout@v4 | ||
- name: Install JDK ${{ matrix.java-version }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
distribution: 'temurin' | ||
cache: maven | ||
|
||
- name: Build | ||
run: | | ||
./mvnw clean package |
This file was deleted.
Oops, something went wrong.
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