Skip to content

Commit 1ae7fb2

Browse files
committed
fix(ci): reduce Maven Central rate limiting
Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
1 parent eaf9428 commit 1ae7fb2

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
java-version: '21'
2929
distribution: 'zulu'
30+
cache: 'gradle'
3031
- name: Upgrade Gradle wrapper for newer Java versions
3132
if: ${{ !contains(fromJSON('["11", "17", "21"]'), matrix.java) }}
3233
run: ./gradlew wrapper --gradle-version=9.0
@@ -35,4 +36,5 @@ jobs:
3536
with:
3637
java-version: ${{ matrix.java }}
3738
distribution: 'zulu'
39+
cache: 'gradle'
3840
- run: ./gradlew shadowJar

.github/workflows/itest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
runs-on: ubuntu-x64
3535
strategy:
3636
fail-fast: false
37+
max-parallel: 4
3738
matrix:
3839
test: ${{ fromJSON(needs.discover.outputs.tests) }}
3940
os: [alpine-3.22, alpine-3.23, ubuntu-22.04, ubuntu-24.04]

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
java-version: '21'
2929
distribution: 'zulu'
30+
cache: 'gradle'
3031
- name: Upgrade Gradle wrapper for newer Java versions
3132
if: ${{ !contains(fromJSON('["11", "17", "21"]'), matrix.java) }}
3233
run: ./gradlew wrapper --gradle-version=9.0
@@ -35,6 +36,7 @@ jobs:
3536
with:
3637
java-version: ${{ matrix.java }}
3738
distribution: 'zulu'
39+
cache: 'gradle'
3840
- run: ./gradlew test --stacktrace
3941
javadoc:
4042
runs-on: ubuntu-x64
@@ -47,4 +49,5 @@ jobs:
4749
with:
4850
java-version: 11
4951
distribution: 'temurin'
52+
cache: 'gradle'
5053
- run: ./gradlew javaDoc --info

0 commit comments

Comments
 (0)