Set go version to 1.16

make verify is failing 'go mod tidy: go.mod file indicates go 1.16, but maximum supported version is 1.15' which indicates that the default go version on the runner is 1.15.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
Paulo Gomes 2021-12-20 18:04:29 +00:00
parent f371eb3035
commit a53cae97ac
No known key found for this signature in database
GPG Key ID: 9995233870E99BEE
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Restore Go cache
uses: actions/cache@v1
with:
@ -36,6 +40,7 @@ jobs:
- name: Run tests
uses: ./.github/actions/run-tests
env:
GOROOT:
GOPATH: /github/home/go
- name: Verify
run: make verify