Skip to content

Commit 9368100

Browse files
committed
ci(github-action): bump go version to 1.18 and node version to 16.x in github action
1 parent 8377b1b commit 9368100

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-and-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: ^1.16
22+
go-version: 1.18
2323

2424
- name: Setup Node.js
2525
uses: actions/setup-node@v1
2626
with:
27-
node-version: '14.x'
27+
node-version: '16.x'
2828

2929
- name: Build static
3030
run: cd web && yarn && yarn build && cd ../
3131

3232
- name: Get Go dependencies
33-
run: go mod download && go get -u github.com/rakyll/statik
33+
run: go mod download && go install github.com/rakyll/statik@v0.1.7
3434

3535
- name: Static->GO generation
3636
run: statik --src=web/build

0 commit comments

Comments
 (0)