Skip to content

Commit 5bcf9ec

Browse files
committed
update test
1 parent c9bcfee commit 5bcf9ec

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,35 @@
1+
12
name: json smart unit tests
23
on:
34
push:
45
branches:
56
- master
7+
- update2024
68
pull_request:
79
branches:
810
- master
911

1012
jobs:
1113
publish:
1214
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
java-version: [8, 11, 17, 21]
1318
steps:
1419
- uses: actions/checkout@v4
15-
- name: Set up jdk 17
16-
uses: actions/setup-java@v3
20+
21+
- name: Set up JDK ${{ matrix.java-version }}
22+
uses: actions/setup-java@v4
1723
with:
18-
java-version: '17'
24+
java-version: ${{ matrix.java-version }}
1925
distribution: 'temurin'
20-
- name: unit tests accessors-smart
21-
run: cd accessors-smart; mvn -B install; mvn -B clean test
26+
cache: 'maven'
2227

23-
- name: unit tests json-smart
28+
- name: Unit tests accessors-smart
29+
run: cd accessors-smart; mvn -B install; mvn -B clean test
30+
31+
- name: Unit tests json-smart
2432
run: cd json-smart; mvn -B install; mvn -B clean test
2533

26-
- name: unit tests json-smart-action
34+
- name: Unit tests json-smart-action
2735
run: cd json-smart-action; mvn -B install; mvn -B clean test

0 commit comments

Comments
 (0)