Skip to content

Commit bc5fadd

Browse files
committed
ci: pin to latest download-artifacts
We're consistently hitting transient errors in download artifacts. Signed-off-by: Bailey Hayes <bailey@cosmonic.com>
1 parent 9e8d325 commit bc5fadd

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/wash.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,24 @@ jobs:
4343
with:
4444
persist-credentials: false
4545
- name: Setup Node.js
46-
uses: actions/setup-node@v4
46+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
4747
with:
4848
node-version: "22"
4949
- name: Setup Go
50-
uses: actions/setup-go@v5
50+
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
5151
with:
5252
go-version: "^1.25.0"
5353
cache: false
5454
- name: Setup TinyGo
55-
uses: acifani/setup-tinygo@v2
55+
uses: acifani/setup-tinygo@b2ba42b249c7d3efdfe94166ec0f48b3191404f7 # v2.0.0
5656
with:
5757
tinygo-version: "0.39.0"
5858
- name: Setup wasm-tools
59-
uses: bytecodealliance/actions/wasm-tools/setup@v1
59+
uses: bytecodealliance/actions/wasm-tools/setup@d742827944dcb656569399571a8a45261b5089f6 # v1.1.0
6060
with:
6161
version: "1.223.1"
6262
- name: Setup protoc
63-
uses: arduino/setup-protoc@v3
63+
uses: arduino/setup-protoc@f4d5893b897028ff5739576ea0409746887fa536 # v3.0.0
6464
with:
6565
version: "29.x"
6666
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
persist-credentials: false
8585
- name: Setup protoc
86-
uses: arduino/setup-protoc@v3
86+
uses: arduino/setup-protoc@f4d5893b897028ff5739576ea0409746887fa536 # v3.0.0
8787
with:
8888
version: "29.x"
8989
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -181,7 +181,7 @@ jobs:
181181
rust-targets: "${{ matrix.target }}"
182182

183183
- name: Setup protoc
184-
uses: arduino/setup-protoc@v3
184+
uses: arduino/setup-protoc@f4d5893b897028ff5739576ea0409746887fa536 # v3.0.0
185185
with:
186186
version: "29.x"
187187
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -192,10 +192,11 @@ jobs:
192192
cp target/${{ matrix.target }}/release/${{ matrix.bin }} ${{ matrix.artifact }}
193193
194194
- name: Upload artifact
195-
uses: actions/upload-artifact@v4
195+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
196196
with:
197197
name: ${{ matrix.artifact }}
198198
path: ${{ matrix.artifact }}
199+
if-no-files-found: error
199200

200201
upload-release-assets:
201202
needs: release
@@ -210,17 +211,18 @@ jobs:
210211
with:
211212
persist-credentials: false
212213
- name: Download all artifacts
213-
uses: actions/download-artifact@v4
214+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
214215
with:
215216
path: ./artifacts
217+
pattern: wash-*
216218

217219
- name: Generate build provenance attestations
218-
uses: actions/attest-build-provenance@v1
220+
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
219221
with:
220222
subject-path: "./artifacts/*/wash*"
221223

222224
- name: Create GitHub Release and upload binaries
223-
uses: softprops/action-gh-release@v2
225+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
224226
with:
225227
name: ${{ github.ref_name }}
226228
tag_name: ${{ github.ref_name }}

0 commit comments

Comments
 (0)