Skip to content

Commit f885737

Browse files
committed
update gradle workflow to not use ancient action
1 parent 9ec0321 commit f885737

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/gradle.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
with:
1717
distribution: temurin
1818
java-version: 25
19+
1920
- name: Setup Gradle
20-
uses: gradle/gradle-build-action@v2
21-
with:
22-
arguments: build --no-daemon
21+
uses: gradle/actions/setup-gradle@v5
22+
23+
- name: Build with Gradle
24+
run: ./gradlew build --no-daemon
2325
checkstyle:
2426
runs-on: ubuntu-latest
2527
steps:
@@ -30,6 +32,7 @@ jobs:
3032
distribution: temurin
3133
java-version: 25
3234
- name: Setup Gradle
33-
uses: gradle/gradle-build-action@v2
34-
with:
35-
arguments: checkstyleMain checkstyleTest --no-daemon
35+
uses: gradle/actions/setup-gradle@v5
36+
37+
- name: Run Checkstyle
38+
run: ./gradlew checkstyleMain checkstyleTest --no-daemon

0 commit comments

Comments
 (0)