Enable go 1.21.0 in the CI build (#998)

Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
This commit is contained in:
Cosmin Cojocar 2023-08-14 09:59:18 +02:00 committed by GitHub
parent 4b458c4f59
commit a89e9d5a7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
version: [{go: '1.19.12', golangci: 'v1.52.0'}, {go: '1.20.7', golangci: 'latest'}] version: [{go: '1.19.12', golangci: 'v1.52.0'}, {go: '1.20.7', golangci: 'latest'}, {go: '1.21.0', golangci: 'latest'}]
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
GO111MODULE: on GO111MODULE: on
@ -46,7 +46,7 @@ jobs:
- name: Setup go - name: Setup go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: '1.20.7' go-version: '1.21.0'
- name: Checkout Source - name: Checkout Source
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/cache@v3 - uses: actions/cache@v3

View file

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