From 06b44738e786e455379aa4235c61bd2f34da5d38 Mon Sep 17 00:00:00 2001 From: Teppei Fukuda Date: Mon, 8 Apr 2024 14:53:00 +0400 Subject: [PATCH] chore: bump Go to 1.22 (#6075) Signed-off-by: knqyf263 Co-authored-by: Simar --- .golangci.yaml | 2 +- Dockerfile.protoc | 2 +- aqua.yaml | 2 +- go.mod | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 7be028f1e1ce..5f959a4cc339 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -88,7 +88,7 @@ linters: - gocritic run: - go: '1.21' + go: '1.22' skip-files: - ".*_mock.go$" - ".*_test.go$" diff --git a/Dockerfile.protoc b/Dockerfile.protoc index 1ee880f8fa5c..9b21ed16a55d 100644 --- a/Dockerfile.protoc +++ b/Dockerfile.protoc @@ -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 diff --git a/aqua.yaml b/aqua.yaml index 0ffe7fbe2b81..af251aeec167 100644 --- a/aqua.yaml +++ b/aqua.yaml @@ -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 diff --git a/go.mod b/go.mod index 0e585260a019..ee06f719ac44 100644 --- a/go.mod +++ b/go.mod @@ -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