Skip to content

Commit 4e314e7

Browse files
chore(ci): bump gradle/actions from 3 to 4 (#5)
* chore(ci): 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](gradle/actions@v3...v4) --- updated-dependencies: - dependency-name: gradle/actions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Apply suggestions from code review * Update receive-pr.yml * Update receive-pr.yml --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim te Beek <[email protected]> Co-authored-by: Tim te Beek <[email protected]>
1 parent 948a818 commit 4e314e7

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ jobs:
3333
with:
3434
fetch-depth: 0
3535
show-progress: false
36-
- uses: gradle/actions/wrapper-validation@v3
3736
- uses: actions/setup-dotnet@v4
3837
with:
3938
dotnet-version: '8.0.x'
40-
- uses: gradle/actions/setup-gradle@v3
39+
- uses: gradle/actions/setup-gradle@v4
4140
- name: set-up-jdk
4241
uses: actions/setup-java@v4
4342
with:

.github/workflows/receive-pr.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
with:
2828
ref: ${{github.event.pull_request.head.ref}}
2929
repository: ${{github.event.pull_request.head.repo.full_name}}
30-
- uses: gradle/actions/wrapper-validation@v3
3130
- uses: actions/setup-java@v4
3231
with:
3332
java-version: '21'
@@ -44,11 +43,10 @@ jobs:
4443
- name: Remove pr_number.txt
4544
run: rm -f pr_number.txt
4645

47-
# Execute recipes
48-
- name: Apply OpenRewrite best practices
49-
uses: gradle/actions/setup-gradle@v3
50-
with:
51-
arguments: ${{ env.GRADLE_SWITCHES }} licenseFormat rewriteRun -Drewrite.activeRecipe=org.openrewrite.recipes.OpenRewriteBestPractices
46+
# Apply license headers only (for now)
47+
- uses: gradle/actions/setup-gradle@v4
48+
- name: Apply license headers
49+
run: gradle ${{ env.GRADLE_SWITCHES }} licenseFormat
5250

5351
# Capture the diff
5452
- name: Create patch

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
distribution: zulu
3030
java-version: 17
3131
- name: set-up-gradle
32-
uses: gradle/actions/setup-gradle@v3
32+
uses: gradle/actions/setup-gradle@v4
3333

3434
- name: publish-candidate
3535
if: contains(github.ref, '-rc.')

0 commit comments

Comments
 (0)