Skip to content

Commit 8dd6e82

Browse files
ci: update and pin action versions
Signed-off-by: Pascal Honegger <git@honegger.dev>
1 parent 968e4fc commit 8dd6e82

13 files changed

Lines changed: 46 additions & 44 deletions

File tree

.github/actions/save_cache_if_absent/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ runs:
1212
steps:
1313
- name: Re-check cache before save
1414
id: cache-pre-save
15-
uses: actions/cache/restore@v5
15+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
1616
with:
1717
path: ${{ inputs.path }}
1818
key: ${{ inputs.key }}
1919
lookup-only: true
2020

2121
- name: Save cache
2222
if: ${{ steps.cache-pre-save.outputs.cache-hit != 'true' }}
23-
uses: actions/cache/save@v5
23+
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
2424
with:
2525
path: ${{ inputs.path }}
2626
key: ${{ inputs.key }}

.github/actions/setup_canton/artifacts/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: 'composite'
1212
steps:
1313
- name: Cache Canton binaries
14-
uses: actions/cache/restore@v5
14+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
1515
id: canton-cache
1616
with:
1717
path: .canton

.github/actions/setup_canton/initial/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: 'composite'
1212
steps:
1313
- name: Cache Canton binaries
14-
uses: actions/cache/restore@v5
14+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
1515
id: canton-cache
1616
with:
1717
path: .canton

.github/actions/setup_localnet/artifacts/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: 'composite'
1212
steps:
1313
- name: Cache Localnet files
14-
uses: actions/cache/restore@v5
14+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
1515
id: localnet-cache
1616
with:
1717
path: |

.github/actions/setup_localnet/initial/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: 'composite'
1212
steps:
1313
- name: Cache Localnet files
14-
uses: actions/cache/restore@v5
14+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
1515
id: localnet-cache
1616
with:
1717
path: |

.github/actions/setup_playwright/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
# says to do in the docs. There doesn't appear to be a command that prints
2727
# it out for us.
2828
- name: Load Playwright browser cache
29-
uses: actions/cache@v5
29+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
3030
id: playwright-cache
3131
with:
3232
path: '~/.cache/ms-playwright'

.github/actions/setup_yarn/artifacts/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ runs:
1212
run: corepack enable
1313

1414
- name: Setup Node.js
15-
uses: actions/setup-node@v6
15+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1616
with:
1717
node-version-file: .nvmrc
1818
cache: yarn
1919

2020
- name: Download build artifacts
21-
uses: actions/download-artifact@v7
21+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
2222
with:
2323
name: build-dist-${{ github.run_id }}
2424

.github/actions/setup_yarn/initial/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
run: corepack enable
1717

1818
- name: Setup Node.js
19-
uses: actions/setup-node@v6
19+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2020
with:
2121
node-version-file: .nvmrc
2222
cache: yarn

.github/workflows/build.yml

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
mainnet_splice_version: ${{ steps.version.outputs.mainnet_splice_version }}
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v6
25+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
2626

2727
- name: Resolve version config outputs
2828
id: version
@@ -40,7 +40,7 @@ jobs:
4040
needs: version-config
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@v6
43+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
4444

4545
- uses: ./.github/actions/setup_yarn/initial
4646
with:
@@ -51,7 +51,7 @@ jobs:
5151
run: yarn build:all
5252

5353
- name: Upload build artifacts
54-
uses: actions/upload-artifact@v7
54+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5555
with:
5656
name: build-dist-${{ github.run_id }}
5757
path: |
@@ -80,7 +80,7 @@ jobs:
8080
instance: [canton, localnet]
8181
steps:
8282
- name: Checkout
83-
uses: actions/checkout@v6
83+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
8484

8585
- uses: ./.github/actions/setup_yarn/artifacts
8686
with:
@@ -126,23 +126,23 @@ jobs:
126126
needs: build
127127
steps:
128128
- name: Checkout
129-
uses: actions/checkout@v6
129+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
130130

131131
- name: Setup Python
132132
id: setup-python
133-
uses: actions/setup-python@v6
133+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
134134
with:
135135
python-version-file: .python-version
136136

137137
- name: Install and configure Poetry
138-
uses: snok/install-poetry@v1
138+
uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1.4.2
139139
with:
140140
version: 2.1.3
141141

142142
# load cached venv if cache exists
143143
- name: Load cached venv
144144
id: cached-poetry-dependencies
145-
uses: actions/cache/restore@v5
145+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
146146
with:
147147
path: docs/wallet-integration-guide/.venv
148148
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('docs/wallet-integration-guide/poetry.lock') }}
@@ -168,7 +168,7 @@ jobs:
168168
needs: [version-config, build]
169169
steps:
170170
- name: Checkout
171-
uses: actions/checkout@v6
171+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
172172

173173
- uses: ./.github/actions/setup_yarn/artifacts
174174
with:
@@ -202,7 +202,7 @@ jobs:
202202
needs: [version-config, build]
203203
steps:
204204
- name: Checkout
205-
uses: actions/checkout@v6
205+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
206206
with:
207207
fetch-depth: 0
208208

@@ -231,7 +231,7 @@ jobs:
231231
runs-on: ubuntu-latest
232232
steps:
233233
- name: Checkout
234-
uses: actions/checkout@v6
234+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
235235
with:
236236
fetch-depth: 0
237237

@@ -251,7 +251,7 @@ jobs:
251251
needs: build
252252
steps:
253253
- name: Checkout
254-
uses: actions/checkout@v6
254+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
255255
with:
256256
fetch-depth: 0
257257

@@ -275,7 +275,7 @@ jobs:
275275
db: [sqlite, postgres]
276276
steps:
277277
- name: Checkout
278-
uses: actions/checkout@v6
278+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
279279

280280
- uses: ./.github/actions/setup_yarn/artifacts
281281
with:
@@ -343,14 +343,14 @@ jobs:
343343
if: ${{ !cancelled() }}
344344
run: yarn pm2 logs remote --raw --nostream --lines 10000 > "wallet-gateway-remote.log" 2>&1 || true
345345

346-
- uses: actions/upload-artifact@v7
346+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
347347
if: ${{ !cancelled() }}
348348
with:
349349
name: example-ping-playwright-report-${{ matrix.network }}-${{ matrix.db }}
350350
path: examples/ping/playwright-report/
351351
retention-days: 5
352352

353-
- uses: actions/upload-artifact@v7
353+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
354354
if: ${{ !cancelled() }}
355355
with:
356356
name: ping-wallet-gateway-remote-log-${{ matrix.network }}-${{ matrix.db }}
@@ -384,7 +384,8 @@ jobs:
384384
network: [devnet, mainnet]
385385
steps:
386386
- name: Checkout
387-
uses: actions/checkout@v6
387+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
388+
388389
- uses: ./.github/actions/setup_yarn/artifacts
389390
with:
390391
daml_release_version: ${{ needs.version-config.outputs.daml_release_version }}
@@ -406,14 +407,14 @@ jobs:
406407
if: ${{ !cancelled() }}
407408
run: yarn pm2 logs remote --raw --nostream --lines 10000 > "wallet-gateway-remote.log" 2>&1 || true
408409

409-
- uses: actions/upload-artifact@v7
410+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
410411
if: ${{ !cancelled() }}
411412
with:
412413
name: example-portfolio-playwright-report-${{ matrix.network }}
413414
path: examples/portfolio/playwright-report/
414415
retention-days: 5
415416

416-
- uses: actions/upload-artifact@v7
417+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
417418
if: ${{ !cancelled() }}
418419
with:
419420
name: portfolio-wallet-gateway-remote-log-${{ matrix.network }}
@@ -444,7 +445,7 @@ jobs:
444445

445446
steps:
446447
- name: Checkout
447-
uses: actions/checkout@v6
448+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
448449

449450
- uses: ./.github/actions/setup_yarn/artifacts
450451
with:
@@ -478,7 +479,7 @@ jobs:
478479
479480
- name: Upload logs as artifacts
480481
if: failure()
481-
uses: actions/upload-artifact@v7
482+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
482483
with:
483484
name: docker-logs-snippets-${{ matrix.network }}
484485
path: logs/
@@ -494,7 +495,7 @@ jobs:
494495

495496
steps:
496497
- name: Checkout
497-
uses: actions/checkout@v6
498+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
498499

499500
- uses: ./.github/actions/setup_yarn/artifacts
500501
with:
@@ -530,7 +531,7 @@ jobs:
530531
531532
- name: Upload logs as artifacts
532533
if: failure()
533-
uses: actions/upload-artifact@v7
534+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
534535
with:
535536
name: docker-logs-scripts-${{ matrix.network }}
536537
path: logs/
@@ -562,7 +563,8 @@ jobs:
562563
needs: [version-config, build]
563564
steps:
564565
- name: Checkout
565-
uses: actions/checkout@v6
566+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
567+
566568
- uses: ./.github/actions/setup_yarn/artifacts
567569
with:
568570
daml_release_version: ${{ needs.version-config.outputs.daml_release_version }}

.github/workflows/examples-under-stress.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
mainnet_splice_version: ${{ steps.version.outputs.mainnet_splice_version }}
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@v6
43+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
4444
with:
4545
ref: ${{ github.event.inputs.ref || github.ref }}
4646

@@ -62,7 +62,7 @@ jobs:
6262

6363
steps:
6464
- name: Checkout
65-
uses: actions/checkout@v6
65+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v7.0.0
6666
with:
6767
ref: ${{ github.event.inputs.ref || github.ref }}
6868

@@ -104,7 +104,7 @@ jobs:
104104
105105
- name: Upload logs as artifacts
106106
if: failure()
107-
uses: actions/upload-artifact@v7
107+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
108108
with:
109109
name: docker-logs-${{ github.event.inputs.network || 'devnet' }}
110110
path: logs/

0 commit comments

Comments
 (0)