Skip to content

Commit baad716

Browse files
committed
Revert "AVRO-4189: [Java] Use ClassUtils.forName() in FastReaderBuilder for consistency (#3693) (#3716)"
This reverts commit 3adf73b.
1 parent 3adf73b commit baad716

121 files changed

Lines changed: 3916 additions & 7796 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ jobs:
5353

5454
steps:
5555
- name: Checkout repository
56-
uses: actions/checkout@v6
56+
uses: actions/checkout@v5
5757
with:
5858
# We must fetch at least the immediate parents so that if this is
5959
# a pull request then we can checkout the head.
6060
fetch-depth: 2
6161

6262
# Install .NET SDKs
6363
- name: Install .NET SDKs
64-
uses: actions/setup-dotnet@v5
64+
uses: actions/setup-dotnet@v4
6565
with:
6666
dotnet-version: |
6767
6.0.x
@@ -70,7 +70,7 @@ jobs:
7070
7171
# Initializes the CodeQL tools for scanning.
7272
- name: Initialize CodeQL
73-
uses: github/codeql-action/init@v4
73+
uses: github/codeql-action/init@v3
7474
with:
7575
languages: ${{ matrix.language }}
7676
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -82,7 +82,7 @@ jobs:
8282
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
8383
# If this step fails, then you should remove it and run the build manually (see below)
8484
- name: Autobuild
85-
uses: github/codeql-action/autobuild@v4
85+
uses: github/codeql-action/autobuild@v3
8686

8787
# ℹ️ Command-line programs to run using the OS shell.
8888
# 📚 https://git.io/JvXDl
@@ -92,4 +92,4 @@ jobs:
9292
# uses a compiled language
9393

9494
- name: Perform CodeQL Analysis
95-
uses: github/codeql-action/analyze@v4
95+
uses: github/codeql-action/analyze@v3

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ jobs:
5353

5454
steps:
5555
- name: Checkout repository
56-
uses: actions/checkout@v6
56+
uses: actions/checkout@v5
5757
with:
5858
# We must fetch at least the immediate parents so that if this is
5959
# a pull request then we can checkout the head.
6060
fetch-depth: 2
6161

6262
# Initializes the CodeQL tools for scanning.
6363
- name: Initialize CodeQL
64-
uses: github/codeql-action/init@v4
64+
uses: github/codeql-action/init@v3
6565
with:
6666
languages: ${{ matrix.language }}
6767
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -100,4 +100,4 @@ jobs:
100100
run: mvn clean test
101101

102102
- name: Perform CodeQL Analysis
103-
uses: github/codeql-action/analyze@v4
103+
uses: github/codeql-action/analyze@v3

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ jobs:
5353

5454
steps:
5555
- name: Checkout repository
56-
uses: actions/checkout@v6
56+
uses: actions/checkout@v5
5757
with:
5858
# We must fetch at least the immediate parents so that if this is
5959
# a pull request then we can checkout the head.
6060
fetch-depth: 2
6161

6262
# Initializes the CodeQL tools for scanning.
6363
- name: Initialize CodeQL
64-
uses: github/codeql-action/init@v4
64+
uses: github/codeql-action/init@v3
6565
with:
6666
languages: ${{ matrix.language }}
6767
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -73,7 +73,7 @@ jobs:
7373
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
7474
# If this step fails, then you should remove it and run the build manually (see below)
7575
- name: Autobuild
76-
uses: github/codeql-action/autobuild@v4
76+
uses: github/codeql-action/autobuild@v3
7777

7878
# ℹ️ Command-line programs to run using the OS shell.
7979
# 📚 https://git.io/JvXDl
@@ -83,4 +83,4 @@ jobs:
8383
# uses a compiled language
8484

8585
- name: Perform CodeQL Analysis
86-
uses: github/codeql-action/analyze@v4
86+
uses: github/codeql-action/analyze@v3

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ jobs:
5353

5454
steps:
5555
- name: Checkout repository
56-
uses: actions/checkout@v6
56+
uses: actions/checkout@v5
5757
with:
5858
# We must fetch at least the immediate parents so that if this is
5959
# a pull request then we can checkout the head.
6060
fetch-depth: 2
6161

6262
# Initializes the CodeQL tools for scanning.
6363
- name: Initialize CodeQL
64-
uses: github/codeql-action/init@v4
64+
uses: github/codeql-action/init@v3
6565
with:
6666
languages: ${{ matrix.language }}
6767
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -73,7 +73,7 @@ jobs:
7373
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
7474
# If this step fails, then you should remove it and run the build manually (see below)
7575
- name: Autobuild
76-
uses: github/codeql-action/autobuild@v4
76+
uses: github/codeql-action/autobuild@v3
7777

7878
# ℹ️ Command-line programs to run using the OS shell.
7979
# 📚 https://git.io/JvXDl
@@ -83,4 +83,4 @@ jobs:
8383
# uses a compiled language
8484

8585
- name: Perform CodeQL Analysis
86-
uses: github/codeql-action/analyze@v4
86+
uses: github/codeql-action/analyze@v3

.github/workflows/deploy-docs.yml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
- name: Install Dart Sass
4949
run: sudo snap install dart-sass
5050
- name: Checkout
51-
uses: actions/checkout@v6
51+
uses: actions/checkout@v5
5252

5353
- name: Install Node.js dependencies
5454
working-directory: doc/
55-
run: npm ci
55+
run: ls -lah && npm ci
5656
- name: Build with Hugo
5757
working-directory: doc/
5858
env:
@@ -65,7 +65,7 @@ jobs:
6565
--minify \
6666
--destination ${{ runner.temp }}/website \
6767
--baseURL "/"
68-
- uses: actions/upload-artifact@v7
68+
- uses: actions/upload-artifact@v4
6969
with:
7070
name: website
7171
path: ${{ runner.temp }}/website
@@ -75,7 +75,7 @@ jobs:
7575
runs-on: ubuntu-latest
7676
steps:
7777
- name: Checkout
78-
uses: actions/checkout@v6
78+
uses: actions/checkout@v5
7979

8080
- name: Build C docs
8181
run: |
@@ -84,7 +84,7 @@ jobs:
8484
sudo apt-get install -q -y cmake liblzma-dev libsnappy-dev libjansson-dev zlib1g-dev pkg-config asciidoc source-highlight libsource-highlight-dev
8585
cd lang/c
8686
./build.sh clean docs
87-
- uses: actions/upload-artifact@v7
87+
- uses: actions/upload-artifact@v4
8888
with:
8989
name: api-c
9090
path: build/c/docs
@@ -94,7 +94,7 @@ jobs:
9494
runs-on: ubuntu-latest
9595
steps:
9696
- name: Checkout
97-
uses: actions/checkout@v6
97+
uses: actions/checkout@v5
9898

9999
- name: Build C++ docs
100100
run: |
@@ -103,7 +103,7 @@ jobs:
103103
sudo apt-get install -q -y gcc g++ libboost-all-dev cmake doxygen
104104
cd lang/c++
105105
./build.sh clean doc
106-
- uses: actions/upload-artifact@v7
106+
- uses: actions/upload-artifact@v4
107107
with:
108108
name: api-c++
109109
path: lang/c++/doc/html
@@ -113,7 +113,7 @@ jobs:
113113
runs-on: ubuntu-latest
114114
steps:
115115
- name: Checkout
116-
uses: actions/checkout@v6
116+
uses: actions/checkout@v5
117117

118118
- name: Build C# docs
119119
run: |
@@ -125,7 +125,7 @@ jobs:
125125
cd lang/csharp
126126
mkdir -p build/doc
127127
doxygen Avro.dox
128-
- uses: actions/upload-artifact@v7
128+
- uses: actions/upload-artifact@v4
129129
with:
130130
name: api-csharp
131131
path: lang/csharp/build/doc/html
@@ -135,16 +135,16 @@ jobs:
135135
runs-on: ubuntu-latest
136136
steps:
137137
- name: Checkout
138-
uses: actions/checkout@v6
138+
uses: actions/checkout@v5
139139

140140
- name: Cache Local Maven Repository
141-
uses: actions/cache@v5
141+
uses: actions/cache@v4
142142
with:
143143
path: ~/.m2/repository
144144
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
145145
restore-keys: |
146146
${{ runner.os }}-maven-
147-
147+
148148
- name: 'Setup Maven'
149149
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
150150
with:
@@ -164,7 +164,7 @@ jobs:
164164
set -x
165165
cd lang/java
166166
./build.sh dist
167-
- uses: actions/upload-artifact@v7
167+
- uses: actions/upload-artifact@v4
168168
with:
169169
name: api-java
170170
path: lang/java/target/reports/apidocs
@@ -174,21 +174,21 @@ jobs:
174174
runs-on: ubuntu-latest
175175
steps:
176176
- name: Checkout
177-
uses: actions/checkout@v6
177+
uses: actions/checkout@v5
178178

179179
- name: Setup Python
180-
uses: actions/setup-python@v6
180+
uses: actions/setup-python@v5
181181
with:
182182
python-version: 3.11
183183

184-
- name: Setup uv
185-
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867
184+
- name: Install tox
185+
run: python3 -m pip install tox
186186

187187
- name: Build docs
188188
working-directory: lang/py
189189
run: ./build.sh doc
190190

191-
- uses: actions/upload-artifact@v7
191+
- uses: actions/upload-artifact@v4
192192
with:
193193
name: api-python
194194
path: lang/py/docs/build/
@@ -198,79 +198,79 @@ jobs:
198198
runs-on: ubuntu-latest
199199
steps:
200200
- name: Checkout
201-
uses: actions/checkout@v6
201+
uses: actions/checkout@v5
202202
with:
203203
repository: 'apache/avro-rs'
204204

205205
- name: Rust Toolchain
206-
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
206+
uses: dtolnay/rust-toolchain@stable
207207
with:
208208
toolchain: stable
209209

210210
- name: Build Rustdocs
211211
run: |
212212
set -x
213213
cargo doc --all-features
214-
- uses: actions/upload-artifact@v7
214+
- uses: actions/upload-artifact@v4
215215
with:
216216
name: api-rust
217217
path: target/doc
218-
218+
219219

220220
push-website:
221221
name: Push website
222222
needs: [build-website, build-api-c, build-api-cpp, build-api-csharp, build-api-java, build-api-rust, build-api-python]
223223
runs-on: ubuntu-latest
224224
steps:
225225
- name: Checkout
226-
uses: actions/checkout@v6
226+
uses: actions/checkout@v5
227227
with:
228228
fetch-depth: 0
229229

230230
- name: Install dependencies
231231
run: |
232232
set -x
233233
sudo apt-get update -q
234-
sudo apt-get install -q -y subversion
234+
sudo apt-get install -q -y subversion
235235
236236
- name: Download website
237-
uses: actions/download-artifact@v8
237+
uses: actions/download-artifact@v5
238238
with:
239239
name: website
240240
path: ${{ runner.temp }}/website
241241

242242
- name: Download api-c
243-
uses: actions/download-artifact@v8
243+
uses: actions/download-artifact@v5
244244
with:
245245
name: api-c
246246
path: api-c
247247

248248
- name: Download api-c++
249-
uses: actions/download-artifact@v8
249+
uses: actions/download-artifact@v5
250250
with:
251251
name: api-c++
252252
path: api-c++
253253

254254
- name: Download api-csharp
255-
uses: actions/download-artifact@v8
255+
uses: actions/download-artifact@v5
256256
with:
257257
name: api-csharp
258258
path: api-csharp
259259

260260
- name: Download api-java
261-
uses: actions/download-artifact@v8
261+
uses: actions/download-artifact@v5
262262
with:
263263
name: api-java
264264
path: api-java
265265

266266
- name: Download api-python
267-
uses: actions/download-artifact@v8
267+
uses: actions/download-artifact@v5
268268
with:
269269
name: api-python
270270
path: api-python
271271

272272
- name: Download api-rust
273-
uses: actions/download-artifact@v8
273+
uses: actions/download-artifact@v5
274274
with:
275275
name: api-rust
276276
path: api-rust
@@ -288,7 +288,7 @@ jobs:
288288
mv api-java/* $WEBSITE_API/java/
289289
mv api-python/* $WEBSITE_API/py/
290290
mv api-rust/* $WEBSITE_API/rust/
291-
rmdir api-c api-c++ api-csharp api-python api-rust api-java
291+
rmdir api-c api-c++ api-csharp api-python api-rust api-java
292292
293293
- name: Checkout old docs versions from Subversion
294294
run: |
@@ -310,7 +310,7 @@ jobs:
310310
311311
git rm -rf *
312312
313-
mv ${{ runner.temp }}/website/* .
313+
mv ${{ runner.temp }}/website/* .
314314
echo "publish:
315315
whoami: asf-site
316316
" > .asf.yaml
@@ -320,3 +320,4 @@ jobs:
320320
git switch asf-site
321321
git reset --hard asf-site-staging
322322
git push origin asf-site --force
323+

.github/workflows/java-publish-snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
publish-snapshot:
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v6
36+
- uses: actions/checkout@v5
3737

3838
- name: Cache Local Maven Repository
39-
uses: actions/cache@v5
39+
uses: actions/cache@v4
4040
with:
4141
path: ~/.m2/repository
4242
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)