-
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (39 loc) · 1.04 KB
/
cross-version.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Cross-Version
on: [push, pull_request]
env:
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always
jobs:
java:
name: Java ${{ matrix.java }}
strategy:
fail-fast: false
matrix:
java: [22, 23, 24]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java }}
version: latest
- name: Test
run: ./mvnw $MAVEN_ARGS verify
junit:
name: JUnit Jupiter ${{ matrix.junit-jupiter }}
strategy:
fail-fast: false
matrix:
junit-jupiter: [5.10.0, 5.10.3]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
cache: maven
- name: Test
run: ./mvnw $MAVEN_ARGS -Djunit-jupiter.version=${{ matrix.junit-jupiter }} verify