Skip to content

Commit df8915c

Browse files
Update common files
1 parent 92aabdb commit df8915c

File tree

9 files changed

+26
-20
lines changed

9 files changed

+26
-20
lines changed

.github/workflows/central-sync.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
with:
3030
distribution: 'temurin'
3131
java-version: |
32-
21
3332
25
3433
- name: Publish to Sonatype OSSRH
3534
env:

.github/workflows/graalvm-latest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
uses: micronaut-projects/github-actions/graalvm/build-matrix@master
3030
id: build-matrix
3131
with:
32-
java-version: '21'
32+
java-version: '25'
3333
build:
3434
needs: build_matrix
3535
if: github.repository != 'micronaut-projects/micronaut-project-template'
3636
runs-on: ubuntu-latest
3737
strategy:
3838
max-parallel: 6
3939
matrix:
40-
java: ['21']
40+
java: ['25']
4141
native_test_task: ${{ fromJson(needs.build_matrix.outputs.matrix).native_test_task }}
4242
env:
4343
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
@@ -55,7 +55,7 @@ jobs:
5555
id: pre-build
5656
with:
5757
distribution: 'graalvm'
58-
gradle-java: '21'
58+
gradle-java: '25'
5959
java: ${{ matrix.java }}
6060
nativeTestTask: ${{ matrix.native_test_task }}
6161
- name: Build Steps

.github/workflows/gradle.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
java: ['21', '25']
22+
java: ['25']
2323
env:
2424
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
2525
DEVELOCITY_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
@@ -43,6 +43,9 @@ jobs:
4343
run: |
4444
sudo rm -rf "/usr/local/share/boost"
4545
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
46+
sudo rm -rf "/opt/ghc"
47+
sudo rm -rf "/usr/share/dotnet"
48+
sudo rm -rf "/usr/local/lib/android"
4649
sudo apt-get clean
4750
df -h
4851
@@ -66,7 +69,7 @@ jobs:
6669
[ -f ./setup.sh ] && ./setup.sh || [ ! -f ./setup.sh ]
6770
6871
- name: "🚔 Sonatype Scan"
69-
if: env.OSS_INDEX_PASSWORD != '' && matrix.java == '21'
72+
if: env.OSS_INDEX_PASSWORD != '' && matrix.java == '25'
7073
id: sonatypescan
7174
run: |
7275
./gradlew ossIndexAudit --no-parallel --info
@@ -77,7 +80,7 @@ jobs:
7780
./gradlew check jacocoReport --no-daemon --continue
7881
7982
- name: "🔎 Run static analysis"
80-
if: env.SONAR_TOKEN != '' && matrix.java == '21'
83+
if: env.SONAR_TOKEN != '' && matrix.java == '25'
8184
run: |
8285
./gradlew sonar --no-parallel --continue
8386
@@ -90,14 +93,14 @@ jobs:
9093
check_retries: 'true'
9194

9295
- name: "📜 Upload binary compatibility check results"
93-
if: matrix.java == '21'
94-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
96+
if: matrix.java == '25'
97+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
9598
with:
9699
name: binary-compatibility-reports
97100
path: "**/build/reports/binary-compatibility-*.html"
98101

99102
- name: "📦 Publish to Sonatype Snapshots"
100-
if: success() && github.event_name == 'push' && matrix.java == '21'
103+
if: success() && github.event_name == 'push' && matrix.java == '25'
101104
env:
102105
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
103106
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
@@ -112,7 +115,7 @@ jobs:
112115
if_false: ${{ github.repository }}
113116

114117
- name: "📑 Publish to Github Pages"
115-
if: success() && github.event_name == 'push' && matrix.java == '21'
118+
if: success() && github.event_name == 'push' && matrix.java == '25'
116119
uses: micronaut-projects/github-pages-deploy-action@master
117120
env:
118121
TARGET_REPOSITORY: ${{ steps.docs_target.outputs.value }}

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
unset JAVA_HOME
1717
export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:)
1818
- uses: actions/checkout@v6
19-
- uses: actions/cache@v4
19+
- uses: actions/cache@v5
2020
with:
2121
path: ~/.gradle/caches
2222
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
@@ -27,7 +27,6 @@ jobs:
2727
with:
2828
distribution: 'temurin'
2929
java-version: |
30-
21
3130
25
3231
- name: Publish to Sonatype Snapshots
3332
if: success()

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
with:
2929
distribution: 'temurin'
3030
java-version: |
31-
21
3231
25
3332
- name: Set the current release version
3433
id: release_version
@@ -73,13 +72,13 @@ jobs:
7372
# Store the hash in a file, which is uploaded as a workflow artifact.
7473
sha256sum $ARTIFACTS | base64 -w0 > artifacts-sha256
7574
- name: Upload build artifacts
76-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
75+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7776
with:
7877
name: gradle-build-outputs
7978
path: build/repo/${{ steps.publish.outputs.group }}/*/${{ steps.publish.outputs.version }}/*
8079
retention-days: 5
8180
- name: Upload artifacts-sha256
82-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
81+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
8382
with:
8483
name: artifacts-sha256
8584
path: artifacts-sha256
@@ -125,7 +124,7 @@ jobs:
125124
artifacts-sha256: ${{ steps.set-hash.outputs.artifacts-sha256 }}
126125
steps:
127126
- name: Download artifacts-sha256
128-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
127+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
129128
with:
130129
name: artifacts-sha256
131130
# The SLSA provenance generator expects the hash digest of artifacts to be passed as a job
@@ -156,9 +155,9 @@ jobs:
156155
if: startsWith(github.ref, 'refs/tags/')
157156
steps:
158157
- name: Checkout repository
159-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
158+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
160159
- name: Download artifacts
161-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
160+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
162161
with:
163162
name: gradle-build-outputs
164163
path: build/repo

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ src/main/docs/resources/img/micronaut-logo-white.svg
3737

3838
# Ignore gradle.properties generated by micronaut-build
3939
/buildSrc/gradle.properties
40+
41+
# OpenCode files
42+
.sisyphus/

.sdkmanrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=25.0.1-graal

gradle/wrapper/gradle-wrapper.jar

542 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)