Skip to content

Commit 2a70cb4

Browse files
authored
Update more workflows to use MetaMask/action-checkout-and-setup (#1157)
In #1118 I missed a couple instances.
1 parent 20bc9fc commit 2a70cb4

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/publish-registry.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
outputs:
3434
UPDATED: ${{ steps.updated.outputs.UPDATED }}
3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
- name: Check if registry file was updated
3838
id: updated
3939
run: |
@@ -51,7 +51,10 @@ jobs:
5151
if: ${{ needs.check-updated.outputs.UPDATED == 'true' }}
5252
runs-on: ubuntu-latest
5353
steps:
54-
- uses: actions/checkout@v3
54+
- name: Checkout and setup environment
55+
uses: MetaMask/action-checkout-and-setup@v1
56+
with:
57+
is-high-risk-environment: true
5558
- id: name-hash
5659
name: Get Slack name and hash
5760
shell: bash
@@ -99,14 +102,10 @@ jobs:
99102
if: ${{ needs.check-updated.outputs.UPDATED == 'true' }}
100103
runs-on: ubuntu-latest
101104
steps:
102-
- uses: actions/checkout@v3
103-
- name: Use Node.js
104-
uses: actions/setup-node@v3
105+
- name: Checkout and setup environment
106+
uses: MetaMask/action-checkout-and-setup@v1
105107
with:
106-
node-version-file: '.nvmrc'
107-
cache: 'yarn'
108-
- name: Install Yarn dependencies
109-
run: yarn --immutable
108+
is-high-risk-environment: true
110109
- name: Sign registry
111110
run: yarn sign
112111
env:

0 commit comments

Comments
 (0)