Skip to content

Commit a26d347

Browse files
authored
Fix gox installation in release workflow and update setup-go to v5 (#149)
* fix gox installation & update setup-go to v5 * set fixed gox version
1 parent 2d89cf8 commit a26d347

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix: ${{ steps.build.outputs.matrix }}
1818
steps:
1919
- name: Set up Go
20-
uses: actions/setup-go@v2
20+
uses: actions/setup-go@v5
2121
with:
2222
go-version: ^1
2323

@@ -36,7 +36,7 @@ jobs:
3636
- name: Install packaging dependencies
3737
run: |
3838
gem install fpm package_cloud
39-
GO111MODULE=off go get github.com/mitchellh/gox
39+
cd && go install github.com/mitchellh/gox@v1.0.1
4040
4141
- name: Build packages
4242
id: build

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323

2424
- name: Set up Go
25-
uses: actions/setup-go@v2
25+
uses: actions/setup-go@v5
2626
with:
2727
go-version: ${{ matrix.go }}
2828

@@ -113,15 +113,15 @@ jobs:
113113
steps:
114114

115115
- name: Set up Go
116-
uses: actions/setup-go@v2
116+
uses: actions/setup-go@v5
117117
with:
118118
go-version: ${{ matrix.go }}
119119

120120
- name: Check out code
121121
uses: actions/checkout@v4
122122

123123
- name: Set up Go
124-
uses: actions/setup-go@v2
124+
uses: actions/setup-go@v5
125125
with:
126126
go-version: ^1
127127

0 commit comments

Comments
 (0)