mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Enable go 1.21.0 in the CI build (#998)
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
This commit is contained in:
parent
4b458c4f59
commit
a89e9d5a7a
2 changed files with 4 additions and 4 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue