Skip to content

Commit

Permalink
Fix golangci-lint issues and bump go to 1.23 (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriananeci committed Aug 19, 2024
1 parent 60dda03 commit 2941c04
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 169 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
cache: true
- uses: sigstore/cosign-installer@v3.6.0 # installs cosign
# - uses: anchore/sbom-action/download-syft@v0.14.1 # installs syft
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/adobe/k8s-shredder

go 1.22.3
go 1.23.0

require (
github.com/fsnotify/fsnotify v1.7.0
Expand All @@ -27,7 +27,6 @@ require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-errors/errors v1.4.2 // indirect
github.com/go-logr/logr v1.4.2 // indirect
Expand Down Expand Up @@ -75,7 +74,6 @@ require (
golang.org/x/term v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
Expand Down
Loading

0 comments on commit 2941c04

Please sign in to comment.