Skip to content

Commit 5abaf32

Browse files
committed
chore: update GoReleaser installation in CI workflow
- Replace manual GoReleaser installation with GitHub Action for improved reliability - Specify version v2.10.2 for consistent builds
1 parent d79c459 commit 5abaf32

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
with:
1919
go-version: 1.24.9
2020

21-
- name: Install GoReleaser
22-
run: go install github.com/goreleaser/goreleaser@latest
23-
2421
- name: Install Windows cross-compilation tools
2522
run: |
2623
sudo apt-get update
@@ -31,6 +28,12 @@ jobs:
3128
with:
3229
node-version: "20.x"
3330

31+
- name: Install GoReleaser
32+
uses: goreleaser/goreleaser-action@v5
33+
with:
34+
version: v2.10.2
35+
install-only: true
36+
3437
- name: Run npm build tests
3538
run: |
3639
chmod +x test-scripts/test-npm-build.sh

0 commit comments

Comments
 (0)