Enable go 1.17 in the build and release workflows (#694)

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar 2021-09-02 14:59:49 +02:00 committed by GitHub
parent efbefc6930
commit 1b2eecc8c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -21,9 +21,9 @@ jobs:
strategy:
matrix:
go_version:
- '1.14'
- '1.15'
- '1.16'
- '1.17'
runs-on: ubuntu-latest
env:
GO111MODULE: on
@ -51,7 +51,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.17'
- name: Checkout Source
uses: actions/checkout@v2
- uses: actions/cache@v2

View file

@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: 1.17
- name : Get release version
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
@ -41,6 +41,6 @@ jobs:
name: securego/gosec
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
buildargs: GO_VERSION=1.16
buildargs: GO_VERSION=1.17
tags: "latest,${{ env.RELEASE_VERSION }}"
tag_names: true