Skip to content

Commit e339c79

Browse files
chore(deps): bump MetaMask/action-checkout-and-setup from 1 to 2 (#7025)
Bumps [MetaMask/action-checkout-and-setup](https://github.com/metamask/action-checkout-and-setup) from 1 to 2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/metamask/action-checkout-and-setup/releases">MetaMask/action-checkout-and-setup's releases</a>.</em></p> <blockquote> <h2>2.0.0</h2> <h3>Changed</h3> <ul> <li><strong>BREAKING</strong>: Bump <code>GitHub/actions/*</code> actions to latest versions (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/41">#41</a>)</li> <li><strong>BREAKING</strong>: Always include runner OS and arch in cache key (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/40">#40</a>)</li> <li><strong>BREAKING</strong>: Include full Node version in cache key (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/38">#38</a>)</li> </ul> <h2>1.4.0</h2> <h3>Added</h3> <ul> <li>Add parameter for platform specific caching (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/34">#34</a>) <ul> <li>By default the cache is not platform specific, meaning the same cache is used by different operating systems.</li> <li>The new behaviour can be enabled by setting <code>platform-specific-caching</code> to <code>true</code>.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>Use more efficient cache key (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/33">#33</a>)</li> </ul> <h2>v1.3.1</h2> <h2>What's Changed</h2> <ul> <li>Bump <code>@​metamask/auto-changelog</code> from 4.1.0 to 5.1.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/27">MetaMask/action-checkout-and-setup#27</a></li> <li>ci: more efficient node_modules cache key by <a href="https://github.com/HowardBraham"><code>@​HowardBraham</code></a> in <a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/33">MetaMask/action-checkout-and-setup#33</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/MetaMask/action-checkout-and-setup/compare/v1...v1.3.1">https://github.com/MetaMask/action-checkout-and-setup/compare/v1...v1.3.1</a></p> <h2>1.3.0</h2> <h3>Added</h3> <ul> <li>Allow to use a local stored yarn binary (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/28">#28</a>, <a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/30">#30</a>)</li> </ul> <h2>v1.2.0</h2> <h3>Added</h3> <ul> <li>Add <code>yarn-custom-url</code> and <code>yarn-install-max-retries</code> options (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/24">#24</a>)</li> </ul> <h2>1.1.1</h2> <h3>Fixed</h3> <ul> <li>Cache nested <code>node_modules</code> directories (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/20">#20</a>)</li> </ul> <h2>1.1.0</h2> <h3>Added</h3> <ul> <li>Add <code>skip-allow-scripts</code> option (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/14">#14</a>) <ul> <li>This can speed up the action by skipping the <code>allow-scripts</code> step, if it's not required.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>Use <code>MetaMask/action-retry-command</code> for possible flaky steps (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/16">#16</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Use current commit hash for cache key instead of <code>github.sha</code> (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/15">#15</a>)</li> </ul> <h2>1.0.1</h2> <h3>Fixed</h3> <ul> <li>Run <code>allow-scripts</code> when restoring from cache (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/11">#11</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/MetaMask/action-checkout-and-setup/blob/main/CHANGELOG.md">MetaMask/action-checkout-and-setup's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file.</p> <p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semantic Versioning</a>.</p> <h2>[Unreleased]</h2> <h2>[2.0.0]</h2> <h3>Changed</h3> <ul> <li><strong>BREAKING</strong>: Bump <code>GitHub/actions/*</code> actions to latest versions (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/41">#41</a>)</li> <li><strong>BREAKING</strong>: Always include runner OS and arch in cache key (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/40">#40</a>)</li> <li><strong>BREAKING</strong>: Include full Node version in cache key (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/38">#38</a>)</li> </ul> <h2>[1.4.0]</h2> <h3>Added</h3> <ul> <li>Add parameter for platform specific caching (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/34">#34</a>) <ul> <li>By default the cache is not platform specific, meaning the same cache is used by different operating systems.</li> <li>The new behaviour can be enabled by setting <code>platform-specific-caching</code> to <code>true</code>.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>Use more efficient cache key (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/33">#33</a>)</li> </ul> <h2>[1.3.0]</h2> <h3>Added</h3> <ul> <li>Allow to use a local stored yarn binary (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/28">#28</a>, <a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/30">#30</a>)</li> </ul> <h2>[1.2.0]</h2> <h3>Added</h3> <ul> <li>Add <code>yarn-custom-url</code> and <code>yarn-install-max-retries</code> options (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/24">#24</a>)</li> </ul> <h2>[1.1.1]</h2> <h3>Fixed</h3> <ul> <li>Cache nested <code>node_modules</code> directories (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/20">#20</a>)</li> </ul> <h2>[1.1.0]</h2> <h3>Added</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/a108e8da3986e72db412905dfd300910a60c27ce"><code>a108e8d</code></a> 2.0.0 (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/42">#42</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/75214290e07ca3b5d9149c9674c138b929523da2"><code>7521429</code></a> chore(deps): Bump actions to latest versions (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/41">#41</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/93ad48bd195d20cbbd982b6a5be2baf88b70dc96"><code>93ad48b</code></a> refactor!: Always include runner OS and arch in cache key (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/40">#40</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/1743cf82a45258c274b34f4e32fcc57aa2c9b517"><code>1743cf8</code></a> feat!: Include full Node version in cache key (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/38">#38</a>)</li> <li>See full diff in <a href="https://github.com/metamask/action-checkout-and-setup/compare/v1...v2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=MetaMask/action-checkout-and-setup&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Updates GitHub workflows to use MetaMask/action-checkout-and-setup v2 and standardizes node version inputs and caching in CI. > > - **CI Workflows**: > - Bump `MetaMask/action-checkout-and-setup` from `v1` to `v2` in: > - `.github/workflows/ensure-blocking-pr-labels-absent.yml` > - `.github/workflows/lint-build-test.yml` > - `.github/workflows/publish-preview.yml` > - `.github/workflows/publish-release.yml` > - Lint/Build/Test pipeline tweaks in `lint-build-test.yml`: > - Always enable `cache-node-modules: true` in `prepare`. > - Pass `node-version: ${{ matrix.node-version }}` to all relevant jobs. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 52daad1. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maarten Zuidhoorn <[email protected]>
1 parent aa0c463 commit e339c79

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

.github/workflows/ensure-blocking-pr-labels-absent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pull-requests: read
1515
steps:
1616
- name: Checkout and setup environment
17-
uses: MetaMask/action-checkout-and-setup@v1
17+
uses: MetaMask/action-checkout-and-setup@v2
1818
with:
1919
is-high-risk-environment: false
2020
- name: Run command

.github/workflows/lint-build-test.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
child-workspace-package-names: ${{ steps.workspace-package-names.outputs.child-workspace-package-names }}
1515
steps:
1616
- name: Checkout and setup environment
17-
uses: MetaMask/action-checkout-and-setup@v1
17+
uses: MetaMask/action-checkout-and-setup@v2
1818
with:
1919
is-high-risk-environment: false
20-
cache-node-modules: ${{ matrix.node-version == '22.x' }}
20+
cache-node-modules: true
21+
node-version: ${{ matrix.node-version }}
2122
- name: Fetch workspace package names
2223
id: workspace-package-names
2324
run: |
@@ -33,9 +34,10 @@ jobs:
3334
node-version: [22.x]
3435
steps:
3536
- name: Checkout and setup environment
36-
uses: MetaMask/action-checkout-and-setup@v1
37+
uses: MetaMask/action-checkout-and-setup@v2
3738
with:
3839
is-high-risk-environment: false
40+
node-version: ${{ matrix.node-version }}
3941
- run: yarn lint
4042
- name: Require clean working directory
4143
shell: bash
@@ -55,9 +57,10 @@ jobs:
5557
package-name: ${{ fromJson(needs.prepare.outputs.child-workspace-package-names) }}
5658
steps:
5759
- name: Checkout and setup environment
58-
uses: MetaMask/action-checkout-and-setup@v1
60+
uses: MetaMask/action-checkout-and-setup@v2
5961
with:
6062
is-high-risk-environment: false
63+
node-version: ${{ matrix.node-version }}
6164
- run: yarn workspace ${{ matrix.package-name }} changelog:validate
6265
- name: Require clean working directory
6366
shell: bash
@@ -76,9 +79,10 @@ jobs:
7679
node-version: [22.x]
7780
steps:
7881
- name: Checkout and setup environment
79-
uses: MetaMask/action-checkout-and-setup@v1
82+
uses: MetaMask/action-checkout-and-setup@v2
8083
with:
8184
is-high-risk-environment: false
85+
node-version: ${{ matrix.node-version }}
8286
- run: yarn build
8387
- name: Require clean working directory
8488
shell: bash
@@ -98,9 +102,10 @@ jobs:
98102
package-name: ${{ fromJson(needs.prepare.outputs.child-workspace-package-names) }}
99103
steps:
100104
- name: Checkout and setup environment
101-
uses: MetaMask/action-checkout-and-setup@v1
105+
uses: MetaMask/action-checkout-and-setup@v2
102106
with:
103107
is-high-risk-environment: false
108+
node-version: ${{ matrix.node-version }}
104109
- run: yarn test:scripts
105110
- run: yarn workspace ${{ matrix.package-name }} run test
106111
- name: Require clean working directory

.github/workflows/publish-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
PR_NUMBER: ${{ github.event.issue.number }}
3838
- name: Checkout and setup environment
39-
uses: MetaMask/action-checkout-and-setup@v1
39+
uses: MetaMask/action-checkout-and-setup@v2
4040
with:
4141
is-high-risk-environment: true
4242
- name: Get commit SHA

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout and setup environment
18-
uses: MetaMask/action-checkout-and-setup@v1
18+
uses: MetaMask/action-checkout-and-setup@v2
1919
with:
2020
is-high-risk-environment: true
2121
- uses: MetaMask/action-publish-release@v3
@@ -38,7 +38,7 @@ jobs:
3838
needs: publish-release
3939
steps:
4040
- name: Checkout and setup environment
41-
uses: MetaMask/action-checkout-and-setup@v1
41+
uses: MetaMask/action-checkout-and-setup@v2
4242
with:
4343
is-high-risk-environment: true
4444
ref: ${{ github.sha }}
@@ -59,7 +59,7 @@ jobs:
5959
needs: publish-npm-dry-run
6060
steps:
6161
- name: Checkout and setup environment
62-
uses: MetaMask/action-checkout-and-setup@v1
62+
uses: MetaMask/action-checkout-and-setup@v2
6363
with:
6464
is-high-risk-environment: true
6565
ref: ${{ github.sha }}

0 commit comments

Comments
 (0)