chore: add support for Go 1.19

Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
This commit is contained in:
Cosmin Cojocar 2022-08-08 09:32:58 +02:00 committed by Cosmin Cojocar
parent 4e68fb5b15
commit d3933f9e14
2 changed files with 4 additions and 3 deletions

View file

@ -13,6 +13,7 @@ jobs:
go_version:
- '1.17'
- '1.18'
- '1.19'
runs-on: ubuntu-latest
env:
GO111MODULE: on
@ -44,7 +45,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.18'
go-version: '1.19'
- name: Checkout Source
uses: actions/checkout@v3
- uses: actions/cache@v3

View file

@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Install Cosign
uses: sigstore/cosign-installer@v2
with:
@ -66,7 +66,7 @@ jobs:
tags: ${{steps.meta.outputs.tags}}
labels: ${{steps.meta.outputs.labels}}
push: true
build-args: GO_VERSION=1.18
build-args: GO_VERSION=1.19
- name: Sign Docker Image
run: cosign sign -key /tmp/cosign.key ${TAGS}
env: