From 781378a65e58bc8bbe4af27829e1aa754c213ef1 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Thu, 4 Mar 2021 23:24:26 +0100 Subject: [PATCH] Bump go version to 1.16 --- .github/workflows/tests.yml | 15 ++++++++++----- docker/build.sh | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 310f3e3e4..1c1ac1340 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,21 +15,26 @@ jobs: # list of jobs to run: include: - job_name: Windows - go: 1.15.x + go: 1.16.x os: windows-latest - job_name: macOS - go: 1.15.x + go: 1.16.x os: macOS-latest test_fuse: false - job_name: Linux - go: 1.15.x + go: 1.16.x os: ubuntu-latest test_cloud_backends: true test_fuse: true check_changelog: true + - job_name: Linux + go: 1.15.x + os: ubuntu-latest + test_fuse: true + - job_name: Linux go: 1.14.x os: ubuntu-latest @@ -201,7 +206,7 @@ jobs: solaris/amd64" env: - go: 1.15.x + go: 1.16.x GOPROXY: https://proxy.golang.org runs-on: ubuntu-latest @@ -234,7 +239,7 @@ jobs: name: lint runs-on: ubuntu-latest env: - go: 1.15.x + go: 1.16.x steps: - name: Set up Go ${{ env.go }} uses: actions/setup-go@v2 diff --git a/docker/build.sh b/docker/build.sh index 6a411a324..729b837e8 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -5,7 +5,7 @@ set -e echo "Build binary using golang docker image" docker run --rm -ti \ -v "`pwd`":/go/src/github.com/restic/restic \ - -w /go/src/github.com/restic/restic golang:1.15-alpine go run build.go + -w /go/src/github.com/restic/restic golang:1.16-alpine go run build.go echo "Build docker image restic/restic:latest" docker build --rm -t restic/restic:latest -f docker/Dockerfile .