From b4e1249226e3a97dcea0f1fc25a1dec8697c2c74 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Fri, 13 Sep 2024 07:35:28 +0000 Subject: [PATCH] chore: fix trivy github action errror --- .github/workflows/trivy.yaml | 2 +- go.mod | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index bc2ddc83..4bd63436 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@v5 with: - go-version: 1.22.5 + go-version: 1.23.1 id: go - name: Checkout code diff --git a/go.mod b/go.mod index 83cfa288..5c7a48c0 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/kubernetes-csi/csi-driver-iscsi -go 1.21 - -toolchain go1.22.5 +go 1.22 require ( github.com/container-storage-interface/spec v1.8.0