YAML! And more API methods! With improved erroring! And more!
Sending data to Slack can now be done with the YAML format, and that data can be sent to [a Slack API method][methods] or technique of choice with the provided payload. And additional configurations can improve error handling or customize values between steps.
Breaking changes happen with this update and recommended migration strategies are detailed below. Adding this step to new workflows might prefer to follow the README instead :books:
What's changed
Both inputs of payload variables, techniques for sending the payload, additional configurations, and expected outputs were changed:
Final release of v4.0.0 of the setup-gradle, dependency-submission and wrapper-validation actions provided under gradle/actions.
This release is available under the v4 tag.
Major changes from the v3 release
The arguments parameter has been removed
Using the action to execute Gradle via the arguments parameter was deprecated in v3 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 and dependency-submission actions.
Improvements and bugfixes related cache cleanup:
By default, cache cleanup is not run if any Gradle build fails (#71)
Cache cleanup is not run after configuration-cache reuse (#19)
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, the setup-gradle action was enhanced to support Gradle wrapper validation, removing the need to use a separate workflow
file with the gradle/actions/wrapper-validation action.
With this release, wrapper validation has been significantly improved, and is now enabled by default (#12):
The allow-snapshot-wrappers makes it possible to validate snapshot wrapper jars using setup-gradle.
Valid wrapper checksums are cached in Gradle User Home, reducing the need to retrieve checksum values remotely (#172).
Reduce network calls in 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)
Improved error message when 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 generated
In Job summary, the action now provides an explanation when cache is set to read-only or disabled (#255)
When setup-gradle requests a specific Gradle version, the action will no longer download and install that version if it is already available on the PATH of the runner (#270)
To attempt to speed up builds, the setup-gradle and dependency-submission actions now attempt to use the D: drive for Gradle User Home if it is available (#290)
Deprecations and breaking changes
... (truncated)
Commits
cc4fc85 Bump @vercel/ncc in /sources in the npm-dependencies group
e6a8146 Bump the github-actions group with 3 updates
e55599f Adapt build-result-capture script for GE plugin 3.17+
v5 of the Codecov GitHub Action will use the Codecov Wrapper to encapsulate the CLI. This will help ensure that the Action gets updates quicker.
Migration Guide
The v5 release also coincides with the opt-out feature for tokens for public repositories. In the Global Upload Token section of the settings page of an organization in codecov.io, you can set the ability for Codecov to receive a coverage reports from any source. This will allow contributors or other members of a repository to upload without needing access to the Codecov token. For more details see how to upload without a token.
[!WARNING] The following arguments have been changed
file (this has been deprecated in favor of files)
plugin (this has been deprecated in favor of plugins)
v5 of the Codecov GitHub Action will use the Codecov Wrapper to encapsulate the CLI. This will help ensure that the Action gets updates quicker.
Migration Guide
The v5 release also coincides with the opt-out feature for tokens for public repositories. In the Global Upload Token section of the settings page of an organization in codecov.io, you can set the ability for Codecov to receive a coverage reports from any source. This will allow contributors or other members of a repository to upload without needing access to the Codecov token. For more details see how to upload without a token.
[!WARNING]
The following arguments have been changed
file (this has been deprecated in favor of files)
plugin (this has been deprecated in favor of plugins)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
# Sample app builds 📱
Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.
---
Bumps the github-action-dependencies group with 4 updates: slackapi/slack-github-action, gradle/actions, codecov/codecov-action and mikepenz/action-junit-report.
Updates
slackapi/slack-github-action
from 1.26.0 to 2.0.0Release notes
Sourced from slackapi/slack-github-action's releases.
... (truncated)
Commits
485a9d4
Releasee598089
chore(release): tag version 2.0.0e9b3a6b
feat!: wrap payloads to send to a "method" with "token" or "webhook" (#333)74ae656
chore(release): tag version 1.27.1bd0e281
build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 (#355)e127529
build(deps): bump@actions/core
from 1.10.1 to 1.11.1 (#354)6b51022
build(deps-dev): bump eslint-plugin-jsdoc from 50.3.1 to 50.4.3 (#353)555e4ad
build(deps-dev): bump eslint-plugin-import from 2.30.0 to 2.31.0 (#352)8d4500e
build(deps): bump@slack/web-api
from 7.5.0 to 7.7.0 (#351)d0dece6
build(deps-dev): bump mocha from 10.7.3 to 10.8.2 (#350)Updates
gradle/actions
from 3 to 4Release notes
Sourced from gradle/actions's releases.
... (truncated)
Commits
cc4fc85
Bump@vercel/ncc
in /sources in the npm-dependencies groupe6a8146
Bump the github-actions group with 3 updatese55599f
Adapt build-result-capture script for GE plugin 3.17+d85b006
[bot] Update dist directorya09a310
Develocity injection fixes (#448)333e9d9
Do not ignore input parameters whenbuild-scan-publish
is enabled2aa49bf
Set the correct env var for develocity-ccud-plugin-version9ab6ee6
Bump to version 2.0.2 of CCUDGPfb5165d
Add note about cache-encryption-key being required0e27ea7
Improve local development scriptUpdates
codecov/codecov-action
from 4 to 5Release notes
Sourced from codecov/codecov-action's releases.
... (truncated)
Changelog
Sourced from codecov/codecov-action's changelog.
... (truncated)
Commits
015f24e
chore(release): 5.0.7 (#1691)a76271d
fix: use HEAD_REPO (#1690)d168679
chore(release): 5.0.6 (#1689)373fd71
fix: update CODECOV_TOKEN and fix tokenless (#1688)288befb
chore(release): 5.0.5 (#1686)7e69d37
chore(release): wrapper-0.0.27 (#1685)985343d
chore(release): 5.0.4 (#1682)31d1900
chore(deps): bump wrapper to 0.0.26 (#1681)095cfe0
fix: strip out a trailing /n from input tokens (#1679)b542d5a
fix: add action version (#1678)Updates
mikepenz/action-junit-report
from 4 to 5Release notes
Sourced from mikepenz/action-junit-report's releases.
... (truncated)
Commits
a427a90
- ignorePreReleases for changelog6141c38
Merge pull request #1231 from gilesw/docs/example-stanza-for-forked-non-forke...eb88208
- slightly rephrase updated README511b061
Merge pull request #1237 from mikepenz/feature/dependency_updates_202411163caf5b3
- upgrade npm dependencies46ad281
docs: try to fix yaml rendering56596cc
docs: small example to show a use case for annotate_only1c2f98d
- update README for v5 actionec3a351
Merge pull request #1225 from mikepenz/feature/grouped_summaryb317015
- html formattingDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show