1
0
Fork 0

chore: Bump Go version to 1.17

pull/12/head
Ambrose Chua 2021-11-16 13:10:49 +08:00
parent 967b469d65
commit 8c3a91b0a8
2 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
@ -42,7 +42,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
@ -63,7 +63,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
@ -80,7 +80,7 @@ jobs:
run: |
git add .
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git commit -m "[Action] go fmt" -a
git commit -m 'style: `go fmt`' -a
git push
fi
@ -97,7 +97,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2

View File

@ -7,7 +7,7 @@ RUN cd web && npm install
ARG NODE_ENV=production
RUN cd web && npm run build
FROM golang:1.16-alpine3.14 as build
FROM golang:1.17-alpine3.14 as build
RUN apk add \
make