File tree Expand file tree Collapse file tree 13 files changed +98
-255
lines changed
java-compiler-testing/src/it Expand file tree Collapse file tree 13 files changed +98
-255
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
branches :
6
6
- main
7
+ - v5
7
8
push :
8
9
branches :
9
10
- main
11
+ - v5
10
12
workflow_call : {}
11
13
workflow_dispatch : {}
12
14
13
15
jobs :
16
+ validate :
17
+ name : Validation steps
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Checkout
21
+ uses : actions/checkout@v4
22
+
23
+ - name : Run ShellCheck
24
+ uses : ludeeus/action-shellcheck@master
25
+ with :
26
+ check_together : ' yes'
27
+ scandir : ' ./scripts'
28
+
29
+ - name : Validate codecov.yml
30
+ shell : bash
31
+ run : curl -vvv --fail --data-binary @- https://codecov.io/validate < codecov.yml
32
+
33
+
14
34
build :
15
35
name : Build on JDK ${{ matrix.java-version }} (${{ matrix.os-name }})
16
36
runs-on : ${{ matrix.os-name }}
17
37
18
38
strategy :
19
39
fail-fast : false
20
40
matrix :
21
- os-name : [ubuntu-latest]
22
- java-version :
23
- - 11 # LTS
24
- - 17 # LTS
25
- - 21 # LTS
41
+ include :
42
+ - java-version : 17
43
+ use-oracle : false
44
+ os-name : ubuntu-latest
45
+ - java-version : 17
46
+ use-oracle : false
47
+ os-name : windows-latest
48
+ - java-version : 17
49
+ use-oracle : false
50
+ os-name : macos-latest
51
+ - java-version : 21
52
+ use-oracle : false
53
+ os-name : ubuntu-latest
54
+ - java-version : GA
55
+ use-oracle : true
56
+ os-name : ubuntu-latest
57
+ - java-version : EA
58
+ use-oracle : true
59
+ os-name : ubuntu-latest
60
+
26
61
steps :
27
62
- name : Checkout repository
28
63
uses : actions/checkout@v4
29
64
with :
30
65
fetch-depth : 2
31
66
32
- - name : Initialize JDK
67
+ - name : Initialize JDK from Temurin
68
+ if : ${{ ! matrix.use-oracle }}
33
69
uses : actions/setup-java@v4
34
70
with :
35
- check-latest : true
36
- distribution : zulu
37
71
java-version : ${{ matrix.java-version }}
72
+ distribution : ' temurin'
73
+
74
+ - name : Initialize JDK from Oracle
75
+ if : ${{ matrix.use-oracle }}
76
+ uses : oracle-actions/setup-java@v1
77
+ with :
78
+ website : jdk.java.net
79
+ release : ${{ matrix.java-version }}
38
80
39
81
- name : Maven cache
40
82
uses : actions/cache@v4
44
86
path :
45
87
~/.m2
46
88
key : build-${{ env.cache-name }}
47
-
89
+
48
90
- name : Compile and run tests
49
91
shell : bash
50
92
run : ./mvnw -B -U clean verify
Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
branches :
5
5
- main
6
+ - v5
6
7
types :
7
8
- opened
8
9
- synchronize
9
10
push :
10
11
branches :
11
12
- main
13
+ - v5
12
14
workflow_call : {}
13
15
workflow_dispatch : {}
14
16
18
20
runs-on : ubuntu-latest
19
21
20
22
concurrency :
21
- group : codeql-codeql- ${{ github.head_ref || github.run_id }}
23
+ group : codeql-${{ github.head_ref || github.run_id }}
22
24
cancel-in-progress : true
23
25
24
26
permissions :
Original file line number Diff line number Diff line change 35
35
uses : actions/setup-java@v4
36
36
with :
37
37
distribution : zulu
38
- # Must use >= JDK 17 for Javadocs to generate correctly
39
38
java-version : 23
40
39
server-id : ossrh
41
40
server-username : OSSRH_USERNAME
Original file line number Diff line number Diff line change 3
3
push :
4
4
branches :
5
5
- main
6
+ - v5
6
7
7
8
jobs :
8
9
submit-dependency-snapshot :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments