Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump gradle/actions from 3 to 4 #1338

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
6 changes: 3 additions & 3 deletions .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading