Skip to content

Commit

Permalink
chore: bump Go to 1.22 (#6075)
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <knqyf263@gmail.com>
Co-authored-by: Simar <simar@linux.com>
  • Loading branch information
knqyf263 and simar7 committed Apr 8, 2024
1 parent a51cedd commit 06b4473
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ linters:
- gocritic

run:
go: '1.21'
go: '1.22'
skip-files:
- ".*_mock.go$"
- ".*_test.go$"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.protoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 golang:1.21
FROM --platform=linux/amd64 golang:1.22

# Set environment variable for protoc
ENV PROTOC_ZIP=protoc-3.19.4-linux-x86_64.zip
Expand Down
2 changes: 1 addition & 1 deletion aqua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ registries:
- type: standard
ref: v3.157.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: tinygo-org/tinygo@v0.29.0
- name: tinygo-org/tinygo@v0.31.1
- name: WebAssembly/binaryen@version_112
- name: magefile/mage@v1.14.0
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/aquasecurity/trivy

go 1.21
go 1.22

toolchain go1.22.0

require (
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
Expand Down

0 comments on commit 06b4473

Please sign in to comment.