mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 11:35:51 +00:00
Update to Go 1.23.0 (#1183)
Change-Id: I11a6402e85ac543305e8bad4ea35239779424dd6 Signed-off-by: Cosmin Cojocar <ccojocar@google.com>
This commit is contained in:
parent
91c708a620
commit
18135b439c
4 changed files with 7 additions and 7 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
version: [{go: '1.21.12', golangci: 'latest'}, {go: '1.22.5', golangci: 'latest'}]
|
||||
version: [{go: '1.22.6', golangci: 'latest'}, {go: '1.23.0', golangci: 'latest'}]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO111MODULE: on
|
||||
|
@ -46,7 +46,7 @@ jobs:
|
|||
- name: Setup go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22.5'
|
||||
go-version: '1.23.0'
|
||||
- name: Checkout Source
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/cache@v4
|
||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22.5'
|
||||
go-version: '1.23.0'
|
||||
- name: Install Cosign
|
||||
uses: sigstore/cosign-installer@v3
|
||||
with:
|
||||
|
@ -67,7 +67,7 @@ jobs:
|
|||
tags: ${{steps.meta.outputs.tags}}
|
||||
labels: ${{steps.meta.outputs.labels}}
|
||||
push: true
|
||||
build-args: GO_VERSION=1.22
|
||||
build-args: GO_VERSION=1.23
|
||||
- name: Sign Docker Image
|
||||
run: cosign sign --yes --key /tmp/cosign.key ${DIGEST}
|
||||
env:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ GOSEC ?= $(GOBIN)/gosec
|
|||
GINKGO ?= $(GOBIN)/ginkgo
|
||||
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
|
||||
GOVULN_MIN_VERSION = 17
|
||||
GO_VERSION = 1.22
|
||||
GO_VERSION = 1.23
|
||||
|
||||
default:
|
||||
$(MAKE) build
|
||||
|
|
4
go.mod
4
go.mod
|
@ -58,6 +58,6 @@ require (
|
|||
google.golang.org/protobuf v1.34.2 // indirect
|
||||
)
|
||||
|
||||
go 1.21
|
||||
go 1.22
|
||||
|
||||
toolchain go1.23.0
|
||||
toolchain go1.22.0
|
||||
|
|
Loading…
Reference in a new issue