mirror of https://github.com/restic/restic.git
Bump go version to 1.16
This commit is contained in:
parent
64a9272c9a
commit
781378a65e
|
@ -15,21 +15,26 @@ jobs:
|
||||||
# list of jobs to run:
|
# list of jobs to run:
|
||||||
include:
|
include:
|
||||||
- job_name: Windows
|
- job_name: Windows
|
||||||
go: 1.15.x
|
go: 1.16.x
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
|
|
||||||
- job_name: macOS
|
- job_name: macOS
|
||||||
go: 1.15.x
|
go: 1.16.x
|
||||||
os: macOS-latest
|
os: macOS-latest
|
||||||
test_fuse: false
|
test_fuse: false
|
||||||
|
|
||||||
- job_name: Linux
|
- job_name: Linux
|
||||||
go: 1.15.x
|
go: 1.16.x
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
test_cloud_backends: true
|
test_cloud_backends: true
|
||||||
test_fuse: true
|
test_fuse: true
|
||||||
check_changelog: true
|
check_changelog: true
|
||||||
|
|
||||||
|
- job_name: Linux
|
||||||
|
go: 1.15.x
|
||||||
|
os: ubuntu-latest
|
||||||
|
test_fuse: true
|
||||||
|
|
||||||
- job_name: Linux
|
- job_name: Linux
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
@ -201,7 +206,7 @@ jobs:
|
||||||
solaris/amd64"
|
solaris/amd64"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
go: 1.15.x
|
go: 1.16.x
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -234,7 +239,7 @@ jobs:
|
||||||
name: lint
|
name: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
go: 1.15.x
|
go: 1.16.x
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go ${{ env.go }}
|
- name: Set up Go ${{ env.go }}
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
|
|
|
@ -5,7 +5,7 @@ set -e
|
||||||
echo "Build binary using golang docker image"
|
echo "Build binary using golang docker image"
|
||||||
docker run --rm -ti \
|
docker run --rm -ti \
|
||||||
-v "`pwd`":/go/src/github.com/restic/restic \
|
-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"
|
echo "Build docker image restic/restic:latest"
|
||||||
docker build --rm -t restic/restic:latest -f docker/Dockerfile .
|
docker build --rm -t restic/restic:latest -f docker/Dockerfile .
|
||||||
|
|
Loading…
Reference in New Issue