-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use 's4u/setup-maven-action' GH action to test Maven compatibility matrix * Defined formal Maven compatible version (1-year-old + most recent minor) Fixes #630
- Loading branch information
1 parent
78dbcfa
commit 0bfd843
Showing
4 changed files
with
36 additions
and
19 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 |
---|---|---|
|
@@ -22,28 +22,27 @@ jobs: | |
fail-fast: false | ||
max-parallel: 4 | ||
matrix: | ||
java: | ||
- 8 | ||
- 11 | ||
- 17 | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
java: | ||
- 8 | ||
- 11 | ||
- 17 | ||
# 1-year-old version + latest minor | ||
maven: | ||
- 3.8.5 | ||
- 3.8.8 | ||
- 3.9.1 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: s4u/[email protected] | ||
with: | ||
fetch-depth: 1 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-mvn-cache-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-mvn-cache- | ||
- name: Build | ||
run: ./mvnw -B -V -Prun-its clean verify | ||
maven-version: ${{ matrix.maven }} | ||
- name: Maven version | ||
run: mvn -version | ||
- name: Build & Test | ||
run: mvn -B -Prun-its clean verify |
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