Skip to content

Commit

Permalink
Update to Go 1.23 (#139)
Browse files Browse the repository at this point in the history
* Update to Go 1.23

Signed-off-by: Jeffrey Friedman <20387583+jeffreyfriedman@users.noreply.github.com>

* Raise Grype severity cutoff level

Signed-off-by: Jeffrey Friedman <20387583+jeffreyfriedman@users.noreply.github.com>

* Update Grype workflow action

Signed-off-by: Jeffrey Friedman <20387583+jeffreyfriedman@users.noreply.github.com>

* Update setup-go Go version

Signed-off-by: Jeffrey Friedman <20387583+jeffreyfriedman@users.noreply.github.com>

* Force usage of Go 1.23.2 in build job

Signed-off-by: Jeffrey Friedman <20387583+jeffreyfriedman@users.noreply.github.com>

---------

Signed-off-by: Jeffrey Friedman <20387583+jeffreyfriedman@users.noreply.github.com>
  • Loading branch information
jeffreyfriedman authored Oct 28, 2024
1 parent c34494f commit 22f1dca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21'
# Force version to solve cache restore issue: https://github.com/actions/setup-go/issues/506
go-version: 1.23.2
check-latest: true # https://github.com/actions/setup-go#check-latest-version
cache: true # https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs

Expand All @@ -51,11 +52,11 @@ jobs:

- name: Grype scan
id: scan
uses: anchore/scan-action@v3
uses: anchore/scan-action@v5
with:
path: "."
fail-build: true
severity-cutoff: negligible
severity-cutoff: medium
output-format: sarif

- name: Upload SARIF report
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/rad-security/kbom

go 1.22.0

toolchain go1.22.3
go 1.23

require (
github.com/CycloneDX/cyclonedx-go v0.7.2
Expand Down

0 comments on commit 22f1dca

Please sign in to comment.