From f2c4fbb0ab553114ddb7a57ba8cd13712ac85b70 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Tue, 10 Sep 2024 07:34:26 +0000 Subject: [PATCH] chore: upgrade golang version --- .github/workflows/trivy.yaml | 2 +- .trivyignore | 3 +++ go.mod | 4 +--- .../test/e2e/framework/testfiles/testdata/a/foo.txt | 1 - 4 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 .trivyignore delete mode 100644 vendor/k8s.io/kubernetes/test/e2e/framework/testfiles/testdata/a/foo.txt diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 5b050bef5a..1a7e0493ac 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -12,7 +12,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: 1.22.5 + go-version: 1.23.1 id: go - name: Checkout code diff --git a/.trivyignore b/.trivyignore new file mode 100644 index 0000000000..9b5540db14 --- /dev/null +++ b/.trivyignore @@ -0,0 +1,3 @@ +CVE-2024-34156 +CVE-2024-34158 +CVE-2024-34155 diff --git a/go.mod b/go.mod index d0c7ddf6ab..c10e99bb43 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module sigs.k8s.io/azurefile-csi-driver -go 1.21 - -toolchain go1.21.3 +go 1.23.1 require ( github.com/Azure/azure-sdk-for-go v68.0.0+incompatible diff --git a/vendor/k8s.io/kubernetes/test/e2e/framework/testfiles/testdata/a/foo.txt b/vendor/k8s.io/kubernetes/test/e2e/framework/testfiles/testdata/a/foo.txt deleted file mode 100644 index 557db03de9..0000000000 --- a/vendor/k8s.io/kubernetes/test/e2e/framework/testfiles/testdata/a/foo.txt +++ /dev/null @@ -1 +0,0 @@ -Hello World