From 8c3a91b0a8f6aa10a5496e9791f80f6aa153d295 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Tue, 16 Nov 2021 13:10:49 +0800 Subject: [PATCH] chore: Bump Go version to 1.17 --- .github/workflows/build.yml | 10 +++++----- Dockerfile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e17221..f606d33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 1a98d58..ee3fa69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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