Skip to content

Commit 00451d0

Browse files
chore: Bump MetaMask/action-checkout-and-setup from 2 to 3 (#3890)
Bumps [MetaMask/action-checkout-and-setup](https://github.com/metamask/action-checkout-and-setup) from 2 to 3. <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>3.0.0</h2> <h3>Changed</h3> <ul> <li><strong>BREAKING</strong>: Security fix, removes the inputs yarn-custom-url, use-yarn-hydrate, and yarn-hydrate-command -- replaced with yarn-tarball (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/57">#57</a>)</li> <li><strong>BREAKING</strong>: Made things faster when there's a cache hit, but now <em>requires</em> either .nvmrc or inputs.node-version (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/54">#54</a>)</li> </ul> <h2>2.0.1</h2> <h3>Fixed</h3> <ul> <li>Use environment variables for script inputs (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/44">#44</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>[3.0.1]</h2> <h3>Fixed</h3> <ul> <li>Fix Windows runner compatibility by using <code>curl</code> instead of <code>wget</code> (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/59">#59</a>)</li> </ul> <h2>[3.0.0]</h2> <h3>Changed</h3> <ul> <li><strong>BREAKING</strong>: Security fix, removes the inputs yarn-custom-url, use-yarn-hydrate, and yarn-hydrate-command -- replaced with yarn-tarball (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/57">#57</a>)</li> <li><strong>BREAKING</strong>: Made things faster when there's a cache hit, but now <em>requires</em> either .nvmrc or inputs.node-version (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/54">#54</a>)</li> </ul> <h2>[2.0.1]</h2> <h3>Fixed</h3> <ul> <li>Use environment variables for script inputs (<a href="https://redirect.github.com/MetaMask/action-checkout-and-setup/pull/44">#44</a>)</li> </ul> <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> <!-- 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/a7219aafc3b5c293e6ebb2078ae050bc36f71863"><code>a7219aa</code></a> 3.0.1 (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/60">#60</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/7699a4b59e7d99b0fb999428c335b196151fe788"><code>7699a4b</code></a> fix: Fix Windows compatibility by using <code>curl</code> instead of <code>wget</code> (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/59">#59</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/bbc7d8e9beb7f58a926276fede275d967f439a27"><code>bbc7d8e</code></a> 3.0.0 (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/58">#58</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/c42e7d26b8d6d04a3014a631bb5368ae23d9cbff"><code>c42e7d2</code></a> fix: more secure input to yarn hydrate (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/57">#57</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/49bedd20267e76a8859f6a581ba6e7f630cd7359"><code>49bedd2</code></a> ci: make this action faster when there's a cache hit (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/54">#54</a>)</li> <li><a href="https://github.com/MetaMask/action-checkout-and-setup/commit/dbe7107e2c03c9aac794fe3e11ae170ea58e2c37"><code>dbe7107</code></a> bump: updating to the newest versions of all actions packages (<a href="https://redirect.github.com/metamask/action-checkout-and-setup/issues/55">#55</a>)</li> <li>See full diff in <a href="https://github.com/metamask/action-checkout-and-setup/compare/v2...v3">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=2&new-version=3)](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 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> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
1 parent f5c38ae commit 00451d0

6 files changed

Lines changed: 26 additions & 25 deletions

File tree

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020
node-version: [20.x, 22.x]
2121
steps:
2222
- name: Checkout and setup environment
23-
uses: MetaMask/action-checkout-and-setup@v2
23+
uses: MetaMask/action-checkout-and-setup@v3
2424
with:
2525
is-high-risk-environment: false
2626
node-version: ${{ matrix.node-version }}
2727
cache-node-modules: ${{ matrix.node-version == '20.x' }}
28+
force-setup: true
2829
- name: Prepare "@metamask/snaps-execution-environments" build
2930
run: yarn workspace @metamask/snaps-execution-environments run build:lavamoat:test
3031
- name: Save "@metamask/snaps-execution-environments" build
@@ -52,7 +53,7 @@ jobs:
5253
needs: prepare
5354
steps:
5455
- name: Checkout and setup environment
55-
uses: MetaMask/action-checkout-and-setup@v2
56+
uses: MetaMask/action-checkout-and-setup@v3
5657
with:
5758
is-high-risk-environment: false
5859
- name: Build
@@ -79,7 +80,7 @@ jobs:
7980
needs: prepare
8081
steps:
8182
- name: Checkout and setup environment
82-
uses: MetaMask/action-checkout-and-setup@v2
83+
uses: MetaMask/action-checkout-and-setup@v3
8384
with:
8485
is-high-risk-environment: false
8586
- name: Build
@@ -98,7 +99,7 @@ jobs:
9899
needs: prepare
99100
steps:
100101
- name: Checkout and setup environment
101-
uses: MetaMask/action-checkout-and-setup@v2
102+
uses: MetaMask/action-checkout-and-setup@v3
102103
with:
103104
is-high-risk-environment: false
104105
- name: Build JSON-RPC schema
@@ -110,7 +111,7 @@ jobs:
110111
needs: build
111112
steps:
112113
- name: Checkout and setup environment
113-
uses: MetaMask/action-checkout-and-setup@v2
114+
uses: MetaMask/action-checkout-and-setup@v3
114115
with:
115116
is-high-risk-environment: false
116117
- name: Restore build files
@@ -133,7 +134,7 @@ jobs:
133134
needs: prepare
134135
steps:
135136
- name: Checkout and setup environment
136-
uses: MetaMask/action-checkout-and-setup@v2
137+
uses: MetaMask/action-checkout-and-setup@v3
137138
with:
138139
is-high-risk-environment: false
139140
- name: Lint
@@ -161,7 +162,7 @@ jobs:
161162
package-name: ${{ fromJson(needs.prepare.outputs.test-workspace-package-names) }}
162163
steps:
163164
- name: Checkout and setup environment
164-
uses: MetaMask/action-checkout-and-setup@v2
165+
uses: MetaMask/action-checkout-and-setup@v3
165166
with:
166167
is-high-risk-environment: false
167168
node-version: ${{ matrix.node-version }}
@@ -241,7 +242,7 @@ jobs:
241242
package-name: ${{ fromJson(needs.prepare.outputs.e2e-workspace-package-names) }}
242243
steps:
243244
- name: Checkout and setup environment
244-
uses: MetaMask/action-checkout-and-setup@v2
245+
uses: MetaMask/action-checkout-and-setup@v3
245246
with:
246247
is-high-risk-environment: false
247248
node-version: ${{ matrix.node-version }}
@@ -276,7 +277,7 @@ jobs:
276277
os: [macOS-latest, windows-latest]
277278
steps:
278279
- name: Checkout and setup environment
279-
uses: MetaMask/action-checkout-and-setup@v2
280+
uses: MetaMask/action-checkout-and-setup@v3
280281
with:
281282
is-high-risk-environment: false
282283
- name: Build dependencies

.github/workflows/publish-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: ${{ inputs.destination_dir == '' }}
2121
run: exit 1
2222
- name: Checkout and setup environment
23-
uses: MetaMask/action-checkout-and-setup@v2
23+
uses: MetaMask/action-checkout-and-setup@v3
2424
with:
2525
is-high-risk-environment: true
2626
- name: Build dependencies

.github/workflows/publish-github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: ${{ inputs.publish_dir == '' }}
3535
run: exit 1
3636
- name: Checkout and setup environment
37-
uses: MetaMask/action-checkout-and-setup@v2
37+
uses: MetaMask/action-checkout-and-setup@v3
3838
with:
3939
is-high-risk-environment: true
4040
- name: Run build script

.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@v2
39+
uses: MetaMask/action-checkout-and-setup@v3
4040
with:
4141
is-high-risk-environment: true
4242
- name: Get commit SHA

.github/workflows/publish-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
tag: ${{ steps.get-release-tag.outputs.tag }}
3535
steps:
3636
- name: Checkout and setup environment
37-
uses: MetaMask/action-checkout-and-setup@v2
37+
uses: MetaMask/action-checkout-and-setup@v3
3838
with:
3939
is-high-risk-environment: true
4040
ref: ${{ github.sha }}
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: Checkout and setup environment
54-
uses: MetaMask/action-checkout-and-setup@v2
54+
uses: MetaMask/action-checkout-and-setup@v3
5555
with:
5656
is-high-risk-environment: true
5757
ref: ${{ github.sha }}
@@ -84,7 +84,7 @@ jobs:
8484
needs: publish-release
8585
steps:
8686
- name: Checkout and setup environment
87-
uses: MetaMask/action-checkout-and-setup@v2
87+
uses: MetaMask/action-checkout-and-setup@v3
8888
with:
8989
is-high-risk-environment: true
9090
ref: ${{ github.sha }}
@@ -108,7 +108,7 @@ jobs:
108108
- get-release-tag
109109
steps:
110110
- name: Checkout and setup environment
111-
uses: MetaMask/action-checkout-and-setup@v2
111+
uses: MetaMask/action-checkout-and-setup@v3
112112
with:
113113
is-high-risk-environment: true
114114
ref: ${{ github.sha }}
@@ -144,7 +144,7 @@ jobs:
144144
SDK_VERSION: ${{ steps.set-output.outputs.SDK_VERSION }}
145145
steps:
146146
- name: Checkout and setup environment
147-
uses: MetaMask/action-checkout-and-setup@v2
147+
uses: MetaMask/action-checkout-and-setup@v3
148148
with:
149149
is-high-risk-environment: true
150150
ref: ${{ github.sha }}
@@ -197,7 +197,7 @@ jobs:
197197
IS_ENVIRONMENT_RELEASE: ${{ steps.is-environment-release.outputs.IS_ENVIRONMENT_RELEASE }}
198198
steps:
199199
- name: Checkout and setup environment
200-
uses: MetaMask/action-checkout-and-setup@v2
200+
uses: MetaMask/action-checkout-and-setup@v3
201201
with:
202202
is-high-risk-environment: true
203203
ref: ${{ github.sha }}
@@ -219,7 +219,7 @@ jobs:
219219
version: ${{ steps.version.outputs.VERSION }}
220220
steps:
221221
- name: Checkout and setup environment
222-
uses: MetaMask/action-checkout-and-setup@v2
222+
uses: MetaMask/action-checkout-and-setup@v3
223223
with:
224224
is-high-risk-environment: true
225225
ref: ${{ github.sha }}
@@ -286,7 +286,7 @@ jobs:
286286
TEST_SNAPS_VERSION: ${{ steps.set-output.outputs.TEST_SNAPS_VERSION }}
287287
steps:
288288
- name: Checkout and setup environment
289-
uses: MetaMask/action-checkout-and-setup@v2
289+
uses: MetaMask/action-checkout-and-setup@v3
290290
with:
291291
is-high-risk-environment: true
292292
ref: ${{ github.sha }}

.github/workflows/update-pull-request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
GITHUB_TOKEN: ${{ secrets.PULL_REQUEST_UPDATE_TOKEN }}
8383
PR_NUMBER: ${{ inputs.pull-request != 0 && inputs.pull-request || github.event.issue.number }}
8484
- name: Checkout and setup environment
85-
uses: MetaMask/action-checkout-and-setup@v2
85+
uses: MetaMask/action-checkout-and-setup@v3
8686
with:
8787
is-high-risk-environment: false
8888
cache-node-modules: true
@@ -106,7 +106,7 @@ jobs:
106106
GITHUB_TOKEN: ${{ secrets.PULL_REQUEST_UPDATE_TOKEN }}
107107
PR_NUMBER: ${{ inputs.pull-request != 0 && inputs.pull-request || github.event.issue.number }}
108108
- name: Checkout and setup environment
109-
uses: MetaMask/action-checkout-and-setup@v2
109+
uses: MetaMask/action-checkout-and-setup@v3
110110
with:
111111
is-high-risk-environment: false
112112
- name: Deduplicate yarn.lock
@@ -141,7 +141,7 @@ jobs:
141141
with:
142142
name: yarn-lock-${{ needs.prepare.outputs.COMMIT_SHA }}
143143
- name: Checkout and setup environment
144-
uses: MetaMask/action-checkout-and-setup@v2
144+
uses: MetaMask/action-checkout-and-setup@v3
145145
with:
146146
# If the Yarn lock changed we need to reinstall the dependencies.
147147
is-high-risk-environment: ${{ needs.dedupe-yarn-lock.outputs.YARN_LOCK_CHANGED == 'true' }}
@@ -180,7 +180,7 @@ jobs:
180180
with:
181181
name: packages-${{ needs.prepare.outputs.COMMIT_SHA }}
182182
- name: Checkout and setup environment
183-
uses: MetaMask/action-checkout-and-setup@v2
183+
uses: MetaMask/action-checkout-and-setup@v3
184184
with:
185185
# If the Yarn lock changed we need to reinstall the dependencies.
186186
is-high-risk-environment: ${{ needs.dedupe-yarn-lock.outputs.YARN_LOCK_CHANGED == 'true' }}
@@ -219,7 +219,7 @@ jobs:
219219
with:
220220
name: packages-${{ needs.prepare.outputs.COMMIT_SHA }}
221221
- name: Checkout and setup environment
222-
uses: MetaMask/action-checkout-and-setup@v2
222+
uses: MetaMask/action-checkout-and-setup@v3
223223
with:
224224
# If the Yarn lock changed we need to reinstall the dependencies.
225225
is-high-risk-environment: ${{ needs.dedupe-yarn-lock.outputs.YARN_LOCK_CHANGED == 'true' }}

0 commit comments

Comments
 (0)