From d85bfdd14a13dcfc9d4fb5e71542af43458eb624 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 06:35:14 +0000 Subject: [PATCH] Bump gradle/actions from 3 to 4 Bumps [gradle/actions](https://github.com/gradle/actions) from 3 to 4. - [Release notes](https://github.com/gradle/actions/releases) - [Commits](https://github.com/gradle/actions/compare/v3...v4) --- updated-dependencies: - dependency-name: gradle/actions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: Peter Gafert --- .github/workflows/build.yml | 23 ++++++++----------- .github/workflows/check-dependencies.yml | 6 ++--- .../workflows/gradle-wrapper-validation.yml | 2 +- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 175909bba..ae3768e20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,10 +21,10 @@ jobs: with: distribution: 'zulu' java-version: ${{ env.build_java_version }} + - name: Set Up Gradle + uses: gradle/actions/setup-gradle@v4 - name: Build - uses: gradle/actions/setup-gradle@v3 - with: - arguments: build + run: ./gradlew build - name: Check project files unmodified run: | directoryState="$(git status --porcelain)" @@ -76,13 +76,12 @@ jobs: } } } + - name: Set Up Gradle + uses: gradle/actions/setup-gradle@v4 - name: Test - uses: gradle/actions/setup-gradle@v3 + run: ./gradlew test -PallTests -PtestJavaVersion=${{ matrix.test_java_version }} -Porg.gradle.java.installations.paths=${{ env.test_jdk_path }} env: JAVA_HOME: ${{ env.build_jdk_path }} - with: - arguments: test -PallTests -PtestJavaVersion=${{ matrix.test_java_version }} -Porg.gradle.java.installations.paths=${{ env.test_jdk_path }} - cache-disabled: true integration-test: strategy: @@ -125,15 +124,13 @@ jobs: } } } + - name: Set Up Gradle + uses: gradle/actions/setup-gradle@v4 - name: Publish to Maven Local - uses: gradle/actions/setup-gradle@v3 + run: ./gradlew build -xtest -xspotbugsMain -xjavadoc publishToMavenLocal env: JAVA_HOME: ${{ env.build_jdk_path }} - with: - arguments: build -xtest -xspotbugsMain -xjavadoc publishToMavenLocal - name: Integration test - uses: gradle/actions/setup-gradle@v3 + run: ./gradlew runMavenTest -PtestJavaVersion=${{ matrix.test_java_version }} -Porg.gradle.java.installations.paths=${{ env.test_jdk_path }} env: JAVA_HOME: ${{ env.build_jdk_path }} - with: - arguments: runMavenTest -PtestJavaVersion=${{ matrix.test_java_version }} -Porg.gradle.java.installations.paths=${{ env.test_jdk_path }} diff --git a/.github/workflows/check-dependencies.yml b/.github/workflows/check-dependencies.yml index 2f2d3ebda..904d3d127 100644 --- a/.github/workflows/check-dependencies.yml +++ b/.github/workflows/check-dependencies.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set Up Gradle + uses: gradle/actions/setup-gradle@v4 - name: Check for dependency updates - uses: gradle/actions/setup-gradle@v3 - with: - arguments: checkDependencyUpdates -DoutputFormatter=plain,json + run: ./gradlew checkDependencyUpdates -DoutputFormatter=plain,json - name: Create issue/comment if ASM is not up-to-date uses: actions/github-script@v7 env: diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 5a1717a32..7c9440b6c 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -13,4 +13,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3.3.1 + - uses: gradle/actions/wrapper-validation@v4