Skip to content

Commit 6aa1048

Browse files
authored
AVRO-4186: Fully automate release build (#3507)
* Upgrade docker image for running Hugo This also requires upgrading PHP and Node (JS), and fixing a few other issues. The minor version bump for Maven is simply icing on the cake. * Upgrade Python versions in use Prepares for EOL of Python 3.9 at the end of October month. * AVRO-4186: Discover Java toolchains This ensures the toolchain works for both x86 and arm64 architectures, and is supported by the latest/current version of the toolchain plugin. Note: the version numbers are now not just major versions, so selection of JDK 17, for example, is now done like this: [17,18)
1 parent 54b3321 commit 6aa1048

31 files changed

Lines changed: 1765 additions & 1954 deletions

.github/workflows/codeql-java-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ jobs:
8080
17
8181
21
8282
83-
- name: 'Setup Maven 3.9.6'
83+
- name: 'Setup Maven 3.9.11'
8484
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
8585
with:
86-
maven-version: 3.9.6
86+
maven-version: 3.9.11
8787

8888
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
8989
# If this step fails, then you should remove it and run the build manually (see below)

.github/workflows/rat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
17
5050
21
5151
52-
- name: 'Setup Maven 3.9.6'
52+
- name: 'Setup Maven 3.9.11'
5353
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
5454
with:
55-
maven-version: 3.9.6
55+
maven-version: 3.9.11
5656

5757
- name: Run Rat
5858
run: mvn test -Dmaven.main.skip=true -Dmaven.test.skip=true -DskipTests=true -Dinvoker.skip=true -P rat -pl :avro-toplevel

.github/workflows/spotless.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
17
5353
21
5454
55-
- name: 'Setup Maven 3.9.6'
55+
- name: 'Setup Maven 3.9.11'
5656
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
5757
with:
58-
maven-version: 3.9.6
58+
maven-version: 3.9.11
5959

6060
- name: Run Spotless Check
6161
run: mvn spotless:check

.github/workflows/test-lang-c.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ jobs:
7878
17
7979
21
8080
81-
- name: 'Setup Maven 3.9.6'
81+
- name: 'Setup Maven 3.9.11'
8282
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
8383
with:
84-
maven-version: 3.9.6
84+
maven-version: 3.9.11
8585

8686
- name: Install Java Avro for Interop Test
8787
working-directory: .
@@ -138,10 +138,10 @@ jobs:
138138
17
139139
21
140140
141-
- name: 'Setup Maven 3.9.6'
141+
- name: 'Setup Maven 3.9.11'
142142
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
143143
with:
144-
maven-version: 3.9.6
144+
maven-version: 3.9.11
145145

146146
- name: Install Java Avro for Interop Test
147147
working-directory: .

.github/workflows/test-lang-csharp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ jobs:
108108
17
109109
21
110110
111-
- name: 'Setup Maven 3.9.6'
111+
- name: 'Setup Maven 3.9.11'
112112
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
113113
with:
114-
maven-version: 3.9.6
114+
maven-version: 3.9.11
115115

116116
- name: Install Java Avro for Interop Test
117117
working-directory: .

.github/workflows/test-lang-java.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ jobs:
6363
17
6464
21
6565
66-
- name: 'Setup Maven 3.9.6'
66+
- name: 'Setup Maven 3.9.11'
6767
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
6868
with:
69-
maven-version: 3.9.6
69+
maven-version: 3.9.11
7070

7171
- name: 'Install Java Avro Toplevel'
7272
working-directory: ./
@@ -115,10 +115,10 @@ jobs:
115115
17
116116
21
117117
118-
- name: 'Setup Maven 3.9.6'
118+
- name: 'Setup Maven 3.9.11'
119119
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
120120
with:
121-
maven-version: 3.9.6
121+
maven-version: 3.9.11
122122

123123
- name: 'Setup Python for Generating Input Data'
124124
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0

.github/workflows/test-lang-js.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
- ubuntu-latest
4242
- ubuntu-24.04-arm
4343
node:
44-
- 12
45-
- 14
46-
- 16
44+
- 20
45+
- 22
46+
- 24
4747
steps:
4848
- uses: actions/checkout@v5
4949
- name: Setup Node
@@ -72,9 +72,9 @@ jobs:
7272
- ubuntu-latest
7373
- ubuntu-24.04-arm
7474
node:
75-
- 12
76-
- 14
77-
- 16
75+
- 20
76+
- 22
77+
- 24
7878
steps:
7979
- uses: actions/checkout@v5
8080
- name: Setup Node

.github/workflows/test-lang-perl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ jobs:
123123
17
124124
21
125125
126-
- name: 'Setup Maven 3.9.6'
126+
- name: 'Setup Maven 3.9.11'
127127
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
128128
with:
129-
maven-version: 3.9.6
129+
maven-version: 3.9.11
130130

131131
- name: Install Java Avro for Interop Test
132132
working-directory: .

.github/workflows/test-lang-php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ jobs:
110110
17
111111
21
112112
113-
- name: 'Setup Maven 3.9.6'
113+
- name: 'Setup Maven 3.9.11'
114114
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
115115
with:
116-
maven-version: 3.9.6
116+
maven-version: 3.9.11
117117

118118
- name: Install Java Avro for Interop Test
119119
working-directory: .

.github/workflows/test-lang-py.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ jobs:
4242
- ubuntu-latest
4343
- ubuntu-24.04-arm
4444
python:
45+
- '3.13'
4546
- '3.12'
4647
- '3.11'
4748
- '3.10'
48-
- '3.9'
49+
- 'pypy-3.11'
4950
- 'pypy-3.10'
5051

5152
steps:
@@ -134,10 +135,10 @@ jobs:
134135
17
135136
21
136137
137-
- name: 'Setup Maven 3.9.6'
138+
- name: 'Setup Maven 3.9.11'
138139
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
139140
with:
140-
maven-version: 3.9.6
141+
maven-version: 3.9.11
141142

142143
- name: Install Java Avro for Interop Test
143144
working-directory: .

0 commit comments

Comments
 (0)