mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
chore: add support for Go 1.19
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
This commit is contained in:
parent
4e68fb5b15
commit
d3933f9e14
2 changed files with 4 additions and 3 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -13,6 +13,7 @@ jobs:
|
||||||
go_version:
|
go_version:
|
||||||
- '1.17'
|
- '1.17'
|
||||||
- '1.18'
|
- '1.18'
|
||||||
|
- '1.19'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
@ -44,7 +45,7 @@ jobs:
|
||||||
- name: Setup go
|
- name: Setup go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18'
|
go-version: '1.19'
|
||||||
- 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@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.19
|
||||||
- name: Install Cosign
|
- name: Install Cosign
|
||||||
uses: sigstore/cosign-installer@v2
|
uses: sigstore/cosign-installer@v2
|
||||||
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.18
|
build-args: GO_VERSION=1.19
|
||||||
- name: Sign Docker Image
|
- name: Sign Docker Image
|
||||||
run: cosign sign -key /tmp/cosign.key ${TAGS}
|
run: cosign sign -key /tmp/cosign.key ${TAGS}
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue