From 7a98b30f912f3e4e3ab428e886555d2c36653cb7 Mon Sep 17 00:00:00 2001 From: Shingo Omura Date: Tue, 15 Jun 2021 11:27:55 +0000 Subject: [PATCH] upgrade Go 1.16 --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/release.yaml | 4 ++-- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a03abac..f8b1309 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.14 + go-version: ^1.16 id: go - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -50,7 +50,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.14 + go-version: ^1.16 id: go - name: Check out uses: actions/checkout@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d7f9721..2082906 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.14 + go-version: ^1.16 id: go - name: Check out uses: actions/checkout@v2 @@ -42,7 +42,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.14 + go-version: ^1.16 id: go - name: Check out uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index 531f702..df45f0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.14 as builder +FROM golang:1.16 as builder ARG RELEASE ARG VERSION WORKDIR /workspace diff --git a/go.mod b/go.mod index 3624692..8ebe47e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pfnet-research/pftaskqueue -go 1.14 +go 1.16 require ( github.com/MakeNowJust/heredoc/v2 v2.0.1