Bumps the npm-dependencies group with 8 updates in the /sources directory: | Package | From | To | | --- | --- | --- | | [@actions/artifact](https://github.com/actions/toolkit/tree/HEAD/packages/artifact) | `4.0.0` | `5.0.1` | | [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) | `4.0.5` | `5.0.1` | | [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) | `1.11.1` | `2.0.1` | | [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) | `1.1.1` | `2.0.0` | | @gradle-tech/develocity-agent | `2.0.2` | `3.0.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `24.10.1` | `25.0.2` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.48.0` | `8.50.0` | | [prettier](https://github.com/prettier/prettier) | `3.7.3` | `3.7.4` | Updates `@actions/artifact` from 4.0.0 to 5.0.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/toolkit/blob/main/packages/artifact/RELEASES.md"><code>@actions/artifact</code>'s changelog</a>.</em></p> <blockquote> <h3>5.0.1</h3> <ul> <li>Fix Node.js 24 punycode deprecation warning by updating <code>@azure/storage-blob</code> from <code>^12.15.0</code> to <code>^12.29.1</code> <a href="https://redirect.github.com/actions/toolkit/pull/2211">#2211</a></li> <li>Removed direct <code>@azure/core-http</code> dependency (now uses <code>@azure/core-rest-pipeline</code> via storage-blob)</li> </ul> <h3>5.0.0</h3> <ul> <li>Dependency updates for Node.js 24 runtime support</li> <li>Update <code>@actions/core</code> to v2</li> <li>Update <code>@actions/http-client</code> to v3</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/actions/toolkit/commits/HEAD/packages/artifact">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@actions/artifact</code> since your current version.</p> </details> <br /> Updates `@actions/cache` from 4.0.5 to 5.0.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md"><code>@actions/cache</code>'s changelog</a>.</em></p> <blockquote> <h3>5.0.1</h3> <ul> <li>Fix Node.js 24 punycode deprecation warning by updating <code>@azure/storage-blob</code> from <code>^12.13.0</code> to <code>^12.29.1</code> <a href="https://redirect.github.com/actions/toolkit/pull/2213">#2213</a></li> <li>Newer storage-blob uses <code>@azure/core-rest-pipeline</code> instead of deprecated <code>@azure/core-http</code>, which eliminates the transitive dependency on <code>node-fetch@2</code> → <code>whatwg-url@5</code> → <code>tr46@0.0.3</code> that used the deprecated punycode module</li> </ul> <h3>5.0.0</h3> <ul> <li>Remove <code>@azure/ms-rest-js</code> dependency <a href="https://redirect.github.com/actions/toolkit/pull/2197">#2197</a> <ul> <li>The <code>TransferProgressEvent</code> type is now imported from <code>@azure/core-rest-pipeline</code> instead of <code>@azure/ms-rest-js</code></li> </ul> </li> <li>Bump <code>@actions/core</code> from <code>^1.11.1</code> to <code>^2.0.0</code> <a href="https://redirect.github.com/actions/toolkit/pull/2198">#2198</a></li> <li>Bump <code>@actions/exec</code> from <code>^1.0.1</code> to <code>^2.0.0</code> <a href="https://redirect.github.com/actions/toolkit/pull/2198">#2198</a></li> <li>Bump <code>@actions/glob</code> from <code>^0.1.0</code> to <code>^0.5.0</code> <a href="https://redirect.github.com/actions/toolkit/pull/2198">#2198</a></li> <li>Bump <code>@actions/http-client</code> from <code>^2.1.1</code> to <code>^3.0.0</code> <a href="https://redirect.github.com/actions/toolkit/pull/2198">#2198</a></li> <li>Bump <code>@actions/io</code> from <code>^1.0.1</code> to <code>^2.0.0</code> <a href="https://redirect.github.com/actions/toolkit/pull/2198">#2198</a></li> <li>Add support for Node.js 24 <a href="https://redirect.github.com/actions/toolkit/pull/2110">#2110</a></li> <li>Add <code>node-fetch</code> override to resolve audit vulnerabilities <a href="https://redirect.github.com/actions/toolkit/pull/2110">#2110</a></li> </ul> <h3>4.1.0</h3> <ul> <li>Remove client side 10GiB cache size limit check & update twirp client <a href="https://redirect.github.com/actions/toolkit/pull/2118">#2118</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/actions/toolkit/commits/HEAD/packages/cache">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@actions/cache</code> since your current version.</p> </details> <br /> Updates `@actions/core` from 1.11.1 to 2.0.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md"><code>@actions/core</code>'s changelog</a>.</em></p> <blockquote> <h2>2.0.1</h2> <ul> <li>Bump <code>@actions/exec</code> from 1.1.1 to 2.0.0 <a href="https://redirect.github.com/actions/toolkit/pull/2199">#2199</a></li> </ul> <h2>2.0.0</h2> <ul> <li>Add support for Node 24 <a href="https://redirect.github.com/actions/toolkit/pull/2110">#2110</a></li> <li>Bump <code>@actions/http-client</code> from 2.0.1 to 3.0.0</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/actions/toolkit/commits/@actions/artifact@2.0.1/packages/core">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@actions/core</code> since your current version.</p> </details> <br /> Updates `@actions/exec` from 1.1.1 to 2.0.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md"><code>@actions/exec</code>'s changelog</a>.</em></p> <blockquote> <h3>2.0.0</h3> <ul> <li>Add support for Node 24 <a href="https://redirect.github.com/actions/toolkit/pull/2110">#2110</a></li> <li>Bump <code>@actions/io</code> dependency from ^1.0.1 to ^2.0.0</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/actions/toolkit/commits/HEAD/packages/exec">compare view</a></li> </ul> </details> <br /> Updates `@gradle-tech/develocity-agent` from 2.0.2 to 3.0.0 Updates `@types/node` from 24.10.1 to 25.0.2 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> Updates `@typescript-eslint/eslint-plugin` from 8.48.0 to 8.50.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p> <blockquote> <h2>v8.50.0</h2> <h2>8.50.0 (2025-12-15)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [no-useless-default-assignment] add rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11720">#11720</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Josh Goldberg ✨</li> <li>Ulrich Stark</li> </ul> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>v8.49.0</h2> <h2>8.49.0 (2025-12-08)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> use <code>Intl.Segmenter</code> instead of <code>graphemer</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11804">#11804</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>deps:</strong> update dependency prettier to v3.7.2 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11820">#11820</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Justin McBride</li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> </ul> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>v8.48.1</h2> <h2>8.48.1 (2025-12-02)</h2> <h3>⏪ Reverts</h3> <ul> <li><strong>eslint-plugin:</strong> revert "[no-redundant-type-constituents] use assignability checking for redundancy checks (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10744">#10744</a>)" (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11812">#11812</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [consistent-type-exports] check value flag before resolving alias (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11769">#11769</a>)</li> <li><strong>eslint-plugin:</strong> honor ignored base types on generic classes (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11767">#11767</a>)</li> <li><strong>eslint-plugin:</strong> [restrict-template-expressions] check base types in allow list (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11764">#11764</a>, <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/11759">#11759</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Josh Goldberg</li> <li>OleksandraKordonets</li> <li>SangheeSon <a href="https://github.com/Higangssh"><code>@Higangssh</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p> <blockquote> <h2>8.50.0 (2025-12-15)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [no-useless-default-assignment] add rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11720">#11720</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Josh Goldberg ✨</li> <li>Ulrich Stark</li> </ul> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.49.0 (2025-12-08)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> use <code>Intl.Segmenter</code> instead of <code>graphemer</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11804">#11804</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>deps:</strong> update dependency prettier to v3.7.2 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11820">#11820</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Justin McBride</li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> </ul> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> <h2>8.48.1 (2025-12-02)</h2> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [restrict-template-expressions] check base types in allow list (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11764">#11764</a>, <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/11759">#11759</a>)</li> <li><strong>eslint-plugin:</strong> honor ignored base types on generic classes (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11767">#11767</a>)</li> <li><strong>eslint-plugin:</strong> [consistent-type-exports] check value flag before resolving alias (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/11769">#11769</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Josh Goldberg</li> <li>OleksandraKordonets</li> <li>SangheeSon <a href="https://github.com/Higangssh"><code>@Higangssh</code></a></li> <li>tao</li> </ul> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="c62e85874f"><code>c62e858</code></a> chore(release): publish 8.50.0</li> <li><a href="1301f79e54"><code>1301f79</code></a> feat(eslint-plugin): [no-useless-default-assignment] add rule (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/11720">#11720</a>)</li> <li><a href="864595a44b"><code>864595a</code></a> chore(release): publish 8.49.0</li> <li><a href="32b7e891bd"><code>32b7e89</code></a> chore(deps): update dependency <code>@vitest/eslint-plugin</code> to v1.5.1 (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/11816">#11816</a>)</li> <li><a href="56149a2839"><code>56149a2</code></a> feat(eslint-plugin): use <code>Intl.Segmenter</code> instead of <code>graphemer</code> (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/11804">#11804</a>)</li> <li><a href="34a49a4f92"><code>34a49a4</code></a> fix(deps): update dependency prettier to v3.7.2 (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/11820">#11820</a>)</li> <li><a href="d2d7ace4e5"><code>d2d7ace</code></a> docs: fixes bad link to jest docs in unbound-method rule page (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/11823">#11823</a>)</li> <li><a href="8fe34456f7"><code>8fe3445</code></a> chore(release): publish 8.48.1</li> <li><a href="5ac66a60cc"><code>5ac66a6</code></a> fix(eslint-plugin): revert "[no-redundant-type-constituents] use assignabilit...</li> <li><a href="906cc3c892"><code>906cc3c</code></a> fix(eslint-plugin): [restrict-template-expressions] check base types in allow...</li> <li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.0/packages/eslint-plugin">compare view</a></li> </ul> </details> <br /> Updates `prettier` from 3.7.3 to 3.7.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>3.7.4</h2> <h2>What's Changed</h2> <ul> <li>Fix comment in union type gets duplicated by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18393">prettier/prettier#18393</a></li> <li>Fix unstable comment print in union type by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18395">prettier/prettier#18395</a></li> <li>Avoid quote around LWC interpolations by <a href="https://github.com/kovsu"><code>@kovsu</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18383">prettier/prettier#18383</a></li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#374">Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>3.7.4</h1> <p><a href="https://github.com/prettier/prettier/compare/3.7.3...3.7.4">diff</a></p> <h4>LWC: Avoid quote around interpolations (<a href="https://redirect.github.com/prettier/prettier/pull/18383">#18383</a> by <a href="https://github.com/kovsu"><code>@kovsu</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="html"><code><!-- Input --> <div foo={bar}> </div> <p><!-- Prettier 3.7.3 (--embedded-language-formatting off) --><br /> <div foo="{bar}"></div></p> <p><!-- Prettier 3.7.4 (--embedded-language-formatting off) --><br /> <div foo={bar}></div><br /> </code></pre></p> <h4>TypeScript: Fix comment inside union type gets duplicated (<a href="https://redirect.github.com/prettier/prettier/pull/18393">#18393</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="tsx"><code>// Input type Foo = (/** comment */ a | b) | c; <p>// Prettier 3.7.3<br /> type Foo = /** comment <em>/ (/</em>* comment */ a | b) | c;</p> <p>// Prettier 3.7.4<br /> type Foo = /** comment */ (a | b) | c;<br /> </code></pre></p> <h4>TypeScript: Fix unstable comment print in union type comments (<a href="https://redirect.github.com/prettier/prettier/pull/18395">#18395</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="tsx"><code>// Input type X = (A | B) & ( // comment A | B ); <p>// Prettier 3.7.3 (first format)<br /> type X = (A | B) &<br /> (// comment<br /> A | B);</p> <p>// Prettier 3.7.3 (second format)<br /> type X = (<br /> | A<br /> </tr></table><br /> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="7848357af6"><code>7848357</code></a> Release 3.7.4</li> <li><a href="7686c59d51"><code>7686c59</code></a> Release <code>@prettier/plugin-hermes</code> & <code>@prettier/plugin-oxc</code> v0.1.3</li> <li><a href="fe494348a0"><code>fe49434</code></a> Remove dead code checking union/intersection types length (<a href="https://redirect.github.com/prettier/prettier/issues/18396">#18396</a>)</li> <li><a href="ca02b37489"><code>ca02b37</code></a> Fix unstable comment print (<a href="https://redirect.github.com/prettier/prettier/issues/18395">#18395</a>)</li> <li><a href="7efb988c67"><code>7efb988</code></a> Fix comment in union type get duplicated (<a href="https://redirect.github.com/prettier/prettier/issues/18393">#18393</a>)</li> <li><a href="cfa92c1b6d"><code>cfa92c1</code></a> Update dependency <code>@angular/compiler</code> to v21.0.2 (<a href="https://redirect.github.com/prettier/prettier/issues/18392">#18392</a>)</li> <li><a href="1de273770b"><code>1de2737</code></a> Update dependency yaml to v2.8.2 (<a href="https://redirect.github.com/prettier/prettier/issues/18391">#18391</a>)</li> <li><a href="706aa4ef90"><code>706aa4e</code></a> Switch js parse postprocess to <code>onEnter</code> (<a href="https://redirect.github.com/prettier/prettier/issues/18382">#18382</a>)</li> <li><a href="d3eb2b2d08"><code>d3eb2b2</code></a> Reuse arrays in visitor keys (<a href="https://redirect.github.com/prettier/prettier/issues/18386">#18386</a>)</li> <li><a href="c45fef106e"><code>c45fef1</code></a> Fix LWC attribute with <code>--embedded-language-formatting off</code> (<a href="https://redirect.github.com/prettier/prettier/issues/18383">#18383</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/3.7.3...3.7.4">compare view</a></li> </ul> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | @types/node | [>= 22.a, < 23] | </details> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name>` 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 <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jerome Prinet <jprinet@gradle.com>
GitHub Actions for Gradle builds
This repository contains a set of GitHub Actions that are useful for building Gradle projects on GitHub.
The setup-gradle action
The setup-gradle action can be used to configure Gradle for optimal execution on any platform supported by GitHub Actions.
This replaces the previous gradle/gradle-build-action, which now delegates to this implementation.
The recommended way to execute any Gradle build is with the help of the Gradle Wrapper, and the examples assume that the Gradle Wrapper has been configured for the project. See this example if your project doesn't use the Gradle Wrapper.
Example usage
name: Build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Build with Gradle
run: ./gradlew build
See the full action documentation for more advanced usage scenarios.
The dependency-submission action
Generates and submits a dependency graph for a Gradle project, allowing GitHub to alert about reported vulnerabilities in your project dependencies.
The following workflow will generate a dependency graph for a Gradle project and submit it immediately to the repository via the Dependency Submission API. For most projects, this default configuration should be all that you need.
Simply add this as a new workflow file to your repository (eg .github/workflows/dependency-submission.yml).
name: Dependency Submission
on:
push:
branches: [ 'main' ]
permissions:
contents: write
jobs:
dependency-submission:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v5
See the full action documentation for more advanced usage scenarios.
The wrapper-validation action
The wrapper-validation action validates the checksums of all Gradle Wrapper JAR files present in the repository and fails if any unknown Gradle Wrapper JAR files are found.
The action should be run in the root of the repository, as it will recursively search for any files named gradle-wrapper.jar.
Starting with v4 the setup-gradle action will perform wrapper validation on each execution.
If you are using setup-gradle in your workflows, it is unlikely that you will need to use the wrapper-validation action.
Example workflow
name: "Validate Gradle Wrapper"
on:
push:
pull_request:
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v5
See the full action documentation for more advanced usage scenarios.