Skip to content

Commit ee1c45d

Browse files
committed
Test min-versions profile on GitHub
1 parent a7323e9 commit ee1c45d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/maven.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@ jobs:
3232
- name: Build with Maven
3333
run: mvn package --file pom.xml -B --no-transfer-progress
3434

35+
min-versions:
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v3
39+
- name: Set up JDK 8
40+
uses: actions/setup-java@v3
41+
with:
42+
java-version: '8'
43+
distribution: 'temurin'
44+
cache: 'maven'
45+
- name: Build with Maven
46+
run: mvn compile --file pom.xml -B --no-transfer-progress
47+
- name: Test with Maven
48+
run: mvn test --file pom.xml -B --no-transfer-progress -Pmin-versions
49+
3550
native-module:
3651
runs-on: ubuntu-latest
3752
steps:

0 commit comments

Comments
 (0)