-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update gradle/actions action to v4 #447
Conversation
WalkthroughThe primary change involves updating the version of the Gradle setup action in the GitHub Actions workflow file. The version has been upgraded from v3.5.0 to v4.0.0, enhancing the workflow with potential new features and improvements. This update, applied across multiple job definitions, retains the overall structure while possibly streamlining the build and testing processes. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
.github/workflows/checks.yml (1)
87-87
: The specified versionv4.0.0
forgradle/actions/setup-gradle
does not exist.The repository
gradle-build-action
does not have av4.0.0
tag, and the only commit referencing4.0.0
pertains to a different action (actions/setup-java
). Please verify and update to a correct existing version.
.github/workflows/checks.yml
line 87:uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
Analysis chain
Verify compatibility with the new Gradle setup action version.
The version of the Gradle setup action has been updated from
v3.5.0
tov4.0.0
. Ensure that the new version does not introduce breaking changes and is compatible with the workflow.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify compatibility with the new Gradle setup action version. # Test: Check the documentation and release notes for breaking changes. curl -s https://raw.githubusercontent.com/gradle/gradle-build-action/main/CHANGELOG.md | grep -A 10 "## [4.0.0]"Length of output: 114
Script:
#!/bin/bash # Description: Verify compatibility with the new Gradle setup action version. # Test: Fetch the latest tags and check for the 4.0.0 release notes. curl -s https://api.github.com/repos/gradle/gradle-build-action/releases/tags/v4.0.0 | jq '.body'Length of output: 102
Script:
#!/bin/bash # Description: Verify compatibility with the new Gradle setup action version. # Test: Clone the repository and check for changes related to version 4.0.0. git clone https://github.com/gradle/gradle-build-action.git cd gradle-build-action git log -p v4.0.0Length of output: 393
Script:
#!/bin/bash # Description: Verify compatibility with the new Gradle setup action version. # List all tags to check for version 4.0.0. git clone https://github.com/gradle/gradle-build-action.git cd gradle-build-action git tag # Search for version 4.0.0 references in commit messages. git log --grep="4.0.0" -iLength of output: 1238
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .github/workflows/checks.yml (3 hunks)
Additional comments not posted (2)
.github/workflows/checks.yml (2)
122-122
: Verify compatibility with the new Gradle setup action version.The version of the Gradle setup action has been updated from
v3.5.0
tov4.0.0
. Ensure that the new version does not introduce breaking changes and is compatible with the workflow.
165-165
: Verify compatibility with the new Gradle setup action version.The version of the Gradle setup action has been updated from
v3.5.0
tov4.0.0
. Ensure that the new version does not introduce breaking changes and is compatible with the workflow.
This PR contains the following updates:
v3.5.0
->v4.0.0
Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
gradle/actions (gradle/actions)
v4.0.0
Compare Source
Final release of
v4.0.0
of thesetup-gradle
,dependency-submission
andwrapper-validation
actions provided undergradle/actions
.This release is available under the
v4
tag.Major changes from the
v3
releaseThe
arguments
parameter has been removedUsing the action to execute Gradle via the
arguments
parameter was deprecated inv3
and this parameter has been removed.See here for more details.
Cache cleanup enabled by default
After a number of fixes and improvements, this release enables cache-cleanup by default for all Jobs using the
setup-gradle
anddependency-submission
actions.Improvements and bugfixes related cache cleanup:
This feature should help to minimize the size of entries written to the GitHub Actions cache, speeding up builds and reducing cache usage.
Wrapper validation enabled by default
In
v3
, thesetup-gradle
action was enhanced to support Gradle wrapper validation, removing the need to use a separate workflowfile with the
gradle/actions/wrapper-validation
action.With this release, wrapper validation has been significantly improved, and is now enabled by default (#12):
allow-snapshot-wrappers
makes it possible to validate snapshot wrapper jars usingsetup-gradle
.wrapper-validation
for new Gradle versions: By only fetching wrapper checksums for Gradle versions that were not known when this action was released, this release reduces the likelihood that a network failure could cause failure in wrapper validation (#171)wrapper-validation
finds no wrapper jars (#284)Wrapper validation is important for supply-chain integrity. Enabling this feature by default will increase the coverage of wrapper
validation on projects using GitHub Actions.
New input parameters for Dependency Graph generation
Some dependency-graph inputs that could previously only be configured via environment variables now have dedicated action inputs:
dependency-graph-report-dir
: sets the location where dependency-graph reports will be generateddependency-graph-exclude-projects
anddependency-graph-include-projects
: select which Gradle projects will contribute to the generated dependency graph.dependency-graph-exclude-configurations
anddependency-graph-include-configurations
: select which Gradle configurations will contribute to the generated dependency graph.Other improvements
read-only
ordisabled
(#255)setup-gradle
requests a specific Gradle version, the action will no longer download and install that version if it is already available on thePATH
of the runner (#270)setup-gradle
anddependency-submission
actions now attempt to use theD:
drive for Gradle User Home if it is available (#290)Deprecations and breaking changes
gradle-home-cache-cleanup
input parameter has been deprecated and replaced bycache-cleanup
dependency-graph: clear
parameter has been removed without replacementv3
have been removed:Changelog
Full Changelog: gradle/actions@v3.5.0...v4.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.