Skip to content

Commit dfcbb82

Browse files
authored
chore(ci): bump socket-registry action refs (#1174)
1 parent 61435d6 commit dfcbb82

3 files changed

Lines changed: 26 additions & 88 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,6 @@ jobs:
7272
with:
7373
persist-credentials: false
7474

75-
- name: Setup pnpm
76-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
77-
78-
- name: Setup Node.js
79-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # zizmor: ignore[cache-poisoning] # v6.3.0
80-
with:
81-
node-version-file: .node-version
82-
cache: 'pnpm'
83-
cache-dependency-path: 'pnpm-lock.yaml'
84-
8575
- name: Create stub packages
8676
run: |
8777
mkdir -p packages/package-builder/build/dev/out/socketaddon-iocraft
@@ -119,7 +109,9 @@ jobs:
119109
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
120110
CODE
121111
122-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
112+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
113+
with:
114+
checkout: 'false'
123115

124116
- name: Run lint
125117
shell: bash
@@ -139,16 +131,6 @@ jobs:
139131
with:
140132
persist-credentials: false
141133

142-
- name: Setup pnpm
143-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
144-
145-
- name: Setup Node.js
146-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # zizmor: ignore[cache-poisoning] # v6.3.0
147-
with:
148-
node-version-file: .node-version
149-
cache: 'pnpm'
150-
cache-dependency-path: 'pnpm-lock.yaml'
151-
152134
- name: Create stub packages
153135
run: |
154136
mkdir -p packages/package-builder/build/dev/out/socketaddon-iocraft
@@ -186,7 +168,9 @@ jobs:
186168
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
187169
CODE
188170
189-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
171+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
172+
with:
173+
checkout: 'false'
190174

191175
- name: Run type check
192176
shell: bash
@@ -213,16 +197,6 @@ jobs:
213197
with:
214198
persist-credentials: false
215199

216-
- name: Setup pnpm
217-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
218-
219-
- name: Setup Node.js
220-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # zizmor: ignore[cache-poisoning] # v6.3.0
221-
with:
222-
node-version: ${{ matrix.node-version }}
223-
cache: 'pnpm'
224-
cache-dependency-path: 'pnpm-lock.yaml'
225-
226200
- name: Create stub packages
227201
run: |
228202
mkdir -p packages/package-builder/build/dev/out/socketaddon-iocraft
@@ -260,7 +234,10 @@ jobs:
260234
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
261235
CODE
262236
263-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
237+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
238+
with:
239+
checkout: 'false'
240+
node-version: ${{ matrix.node-version }}
264241

265242
- name: Build CLI
266243
working-directory: packages/cli
@@ -296,16 +273,6 @@ jobs:
296273
with:
297274
persist-credentials: false
298275

299-
- name: Setup pnpm
300-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
301-
302-
- name: Setup Node.js
303-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # zizmor: ignore[cache-poisoning] # v6.3.0
304-
with:
305-
node-version: ${{ matrix.node-version }}
306-
cache: 'pnpm'
307-
cache-dependency-path: 'pnpm-lock.yaml'
308-
309276
- name: Create stub packages
310277
run: |
311278
mkdir -p packages/package-builder/build/dev/out/socketaddon-iocraft
@@ -343,7 +310,10 @@ jobs:
343310
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
344311
CODE
345312
346-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
313+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
314+
with:
315+
checkout: 'false'
316+
node-version: ${{ matrix.node-version }}
347317

348318
- name: Build CLI
349319
working-directory: packages/cli

.github/workflows/provenance.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,9 @@ jobs:
5151
with:
5252
persist-credentials: false
5353

54-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
54+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
5555
with:
56-
node-version-file: .node-version
57-
cache: 'pnpm'
58-
cache-dependency-path: 'pnpm-lock.yaml'
59-
60-
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
61-
62-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
56+
checkout: 'false'
6357

6458
- name: Build CLI
6559
shell: bash
@@ -97,17 +91,11 @@ jobs:
9791
with:
9892
persist-credentials: false
9993

100-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
94+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
10195
with:
102-
node-version-file: .node-version
103-
cache: 'pnpm'
104-
cache-dependency-path: 'pnpm-lock.yaml'
96+
checkout: 'false'
10597
registry-url: 'https://registry.npmjs.org'
10698

107-
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
108-
109-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
110-
11199
- name: Download CLI bundle
112100
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
113101
with:
@@ -153,17 +141,11 @@ jobs:
153141
with:
154142
persist-credentials: false
155143

156-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
144+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
157145
with:
158-
node-version-file: .node-version
159-
cache: 'pnpm'
160-
cache-dependency-path: 'pnpm-lock.yaml'
146+
checkout: 'false'
161147
registry-url: 'https://registry.npmjs.org'
162148

163-
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
164-
165-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
166-
167149
# Get versions for lock-stepped and independent packages.
168150
- name: Get versions
169151
id: version

.github/workflows/weekly-update.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,9 @@ jobs:
2929
with:
3030
persist-credentials: false
3131

32-
- name: Setup pnpm
33-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
34-
35-
- name: Setup Node.js
36-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
32+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
3733
with:
38-
node-version-file: .node-version
39-
cache: 'pnpm'
40-
41-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
34+
checkout: 'false'
4235

4336
- name: Check for npm updates
4437
id: check
@@ -68,16 +61,9 @@ jobs:
6861
fetch-depth: 0
6962
persist-credentials: false
7063

71-
- name: Setup pnpm
72-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
73-
74-
- name: Setup Node.js
75-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
64+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
7665
with:
77-
node-version-file: .node-version
78-
cache: 'pnpm'
79-
80-
- uses: SocketDev/socket-registry/.github/actions/install@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
66+
checkout: 'false'
8167

8268
- name: Create update branch
8369
id: branch
@@ -89,7 +75,7 @@ jobs:
8975
git checkout -b "$BRANCH_NAME"
9076
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
9177
92-
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
78+
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
9379
with:
9480
gpg-private-key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
9581

@@ -316,7 +302,7 @@ jobs:
316302
test.log
317303
retention-days: 7
318304

319-
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@6147a08ccc20fcb1f690dcc4650ec745776b3345 # main
305+
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@4edf2e3c3beff7d536e79ce43dfb61abba7cb537 # main
320306
if: always()
321307

322308
notify:

0 commit comments

Comments
 (0)