Skip to content

Commit

Permalink
Update gradle/actions action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 4, 2024
1 parent a16f1a9 commit f00b881
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 46 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/gradle-wrapper-validation.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/grails-joint-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: 11
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: Env
run: env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/groovy-build-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
distribution: 'zulu'
java-version: 21
check-latest: true
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: Test with Gradle
run: ./gradlew -Pcoverage=true jacocoAllReport
timeout-minutes: 60
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/groovy-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
check-latest: true
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: Test with Gradle
run: ./gradlew test
timeout-minutes: 60
Expand All @@ -58,7 +58,7 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
check-latest: true
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: Test with Gradle
run: ./gradlew test
timeout-minutes: 60
Expand All @@ -83,7 +83,7 @@ jobs:
distribution: 'zulu'
java-version: 21
check-latest: true
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: Test with Gradle
run: ./gradlew test -Ptarget.java.home=/home/runner/openjdk
timeout-minutes: 60
2 changes: 1 addition & 1 deletion .github/workflows/groovy-rat-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
distribution: 'zulu'
java-version: 21
check-latest: true
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: Check licenses with rat
run: ./gradlew rat
timeout-minutes: 60
2 changes: 1 addition & 1 deletion .github/workflows/micronaut-joint-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
distribution: 'zulu'
java-version: 17
check-latest: true
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: env
run: env

Expand Down

3 comments on commit f00b881

@daniellansun
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sdelamo @timyates,

Could you take a look at the build issue of micronaut 4.4.x? The build fails because org.ysb33r.gradle:grolifant:0.5.1 is missing. Thanks in advance.

Build file '/home/runner/work/groovy/micronaut-core/build.gradle' line: 2
* What went wrong:
An exception occurred applying plugin request [id: 'io.micronaut.build.internal.docs']
> Failed to apply plugin class 'io.micronaut.build.docs.JavadocAggregatorPlugin'.
   > A problem occurred configuring project ':test-suite-geb'.
      > Could not resolve all artifacts for configuration ':test-suite-geb:classpath'.
         > Could not find org.ysb33r.gradle:grolifant:0.5.1.
           Searched in the following locations:
             - https://plugins.gradle.org/m2/org/ysb33r/gradle/grolifant/0.5.1/grolifant-0.5.1.pom
             - https://repo.maven.apache.org/maven2/org/ysb33r/gradle/grolifant/0.5.1/grolifant-0.5.1.pom
           Required by:
               project :test-suite-geb > gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin:1.4

@timyates
Copy link
Contributor

@timyates timyates commented on f00b881 Aug 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daniellansun micronaut-projects/micronaut-core#10990 maybe?

JFrog's jCenter bait-and-switch is the gift that keeps giving

@daniellansun
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timyates
I think you are right. Maybe the fix should be backported to 4.4.x too. /cc @melix

Please sign in to comment.