Use Go 1.15.2

This commit is contained in:
Adam Chalmers 2020-09-16 12:45:09 -05:00
parent cb6d424765
commit b26f3082e6
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
pinned_go: &pinned_go go=1.14.7-1 pinned_go: &pinned_go go=1.15.2-1
build_dir: &build_dir /cfsetup_build build_dir: &build_dir /cfsetup_build
default-flavor: stretch default-flavor: stretch
stretch: &stretch stretch: &stretch
@ -220,8 +220,8 @@ centos-7:
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
post-cache: post-cache:
- sudo yum install -y fakeroot - sudo yum install -y fakeroot
- wget https://golang.org/dl/go1.14.7.linux-amd64.tar.gz -P /tmp/ - wget https://golang.org/dl/go1.15.2.linux-amd64.tar.gz -P /tmp/
- sudo tar -C /usr/local -xzf /tmp/go1.14.7.linux-amd64.tar.gz - sudo tar -C /usr/local -xzf /tmp/go1.15.2.linux-amd64.tar.gz
- export PATH=$PATH:/usr/local/go/bin - export PATH=$PATH:/usr/local/go/bin
- export GOOS=linux - export GOOS=linux
- export GOARCH=amd64 - export GOARCH=amd64
@ -231,8 +231,8 @@ centos-7:
builddeps: *el7_builddeps builddeps: *el7_builddeps
post-cache: post-cache:
- sudo yum install -y fakeroot - sudo yum install -y fakeroot
- wget https://golang.org/dl/go1.14.7.linux-amd64.tar.gz -P /tmp/ - wget https://golang.org/dl/go1.15.2.linux-amd64.tar.gz -P /tmp/
- sudo tar -C /usr/local -xzf /tmp/go1.14.7.linux-amd64.tar.gz - sudo tar -C /usr/local -xzf /tmp/go1.15.2.linux-amd64.tar.gz
- export PATH=$PATH:/usr/local/go/bin - export PATH=$PATH:/usr/local/go/bin
- export GOOS=linux - export GOOS=linux
- export GOARCH=amd64 - export GOARCH=amd64

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/cloudflare/cloudflared module github.com/cloudflare/cloudflared
go 1.14 go 1.15
require ( require (
github.com/DATA-DOG/go-sqlmock v1.3.3 github.com/DATA-DOG/go-sqlmock v1.3.3