Skip to content

Commit 18861ec

Browse files
committed
add java major versions
1 parent 1033e0b commit 18861ec

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/test.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,65 +6,65 @@ on:
66
- "master"
77
- "develop"
88
pull_request:
9-
types: [ ready_for_review, synchronize, opened ]
9+
types: [ready_for_review, synchronize, opened]
1010

1111
jobs:
1212
format:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v2
18-
with:
19-
ref: ${{ github.head_ref }}
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
with:
19+
ref: ${{ github.head_ref }}
2020

21-
- name: Merge Conflict finder
22-
uses: olivernybroe/[email protected]
21+
- name: Merge Conflict finder
22+
uses: olivernybroe/[email protected]
2323

24-
- name: Use Java Version ${{ matrix.java }}
25-
uses: actions/setup-java@v2
26-
with:
27-
distribution: 'adopt'
28-
java-version: 8
29-
cache: 'gradle'
24+
- name: Use Java Version ${{ matrix.java }}
25+
uses: actions/setup-java@v2
26+
with:
27+
distribution: "adopt"
28+
java-version: 8
29+
cache: "gradle"
3030

31-
- name: Format code
32-
run: gradle format
31+
- name: Format code
32+
run: gradle format
3333

34-
- name: Commit fixed code
35-
uses: stefanzweifel/git-auto-commit-action@v4
36-
with:
37-
commit_message: "style: resolve style guide violations"
38-
branch: ${{ github.head_ref }}
34+
- name: Commit fixed code
35+
uses: stefanzweifel/git-auto-commit-action@v4
36+
with:
37+
commit_message: "style: resolve style guide violations"
38+
branch: ${{ github.head_ref }}
3939

4040
unit:
4141
runs-on: ubuntu-latest
4242
strategy:
4343
matrix:
4444
# test against the latest update of each major Java version, as well as specific updates of LTS versions:
45-
java: [ 8, 11, 15, 16, 17 ]
45+
java: [8, 11, 15, 16, 17, 18, 19, 20, 21, 22]
4646

4747
steps:
48-
- name: Checkout code
49-
uses: actions/checkout@v2
50-
with:
51-
ref: ${{ github.head_ref }}
48+
- name: Checkout code
49+
uses: actions/checkout@v2
50+
with:
51+
ref: ${{ github.head_ref }}
5252

53-
- name: Merge Conflict finder
54-
uses: olivernybroe/[email protected]
53+
- name: Merge Conflict finder
54+
uses: olivernybroe/[email protected]
5555

56-
- name: Use Java Version ${{ matrix.java }}
57-
uses: actions/setup-java@v2
58-
with:
59-
distribution: 'zulu'
60-
java-version: ${{ matrix.java }}
61-
cache: 'gradle'
56+
- name: Use Java Version ${{ matrix.java }}
57+
uses: actions/setup-java@v2
58+
with:
59+
distribution: "zulu"
60+
java-version: ${{ matrix.java }}
61+
cache: "gradle"
6262

63-
- name: Install
64-
run: gradle dependencies
63+
- name: Install
64+
run: gradle dependencies
6565

66-
- name: Test
67-
run: gradle test && gradle jacocoTestReport
66+
- name: Test
67+
run: gradle test && gradle jacocoTestReport
6868

69-
- name: Codecov
70-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
69+
- name: Codecov
70+
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)