diff --git a/.github/workflows/00-pr-scanner.yaml b/.github/workflows/00-pr-scanner.yaml index 82368e87..155ee85b 100644 --- a/.github/workflows/00-pr-scanner.yaml +++ b/.github/workflows/00-pr-scanner.yaml @@ -61,7 +61,7 @@ jobs: COMPONENT_NAME: kubescape CGO_ENABLED: 1 GO111MODULE: "" - GO_VERSION: "1.20" + GO_VERSION: "1.21" RELEASE: "latest" CLIENT: test ARCH_MATRIX: '[ "" ]' diff --git a/.github/workflows/02-release.yaml b/.github/workflows/02-release.yaml index d95308b7..eb6c6b9f 100644 --- a/.github/workflows/02-release.yaml +++ b/.github/workflows/02-release.yaml @@ -36,7 +36,7 @@ jobs: COMPONENT_NAME: kubescape CGO_ENABLED: 1 GO111MODULE: "" - GO_VERSION: "1.20" + GO_VERSION: "1.21" RELEASE: ${{ needs.retag.outputs.NEW_TAG }} CLIENT: release secrets: inherit diff --git a/.github/workflows/b-binary-build-and-e2e-tests.yaml b/.github/workflows/b-binary-build-and-e2e-tests.yaml index f7ecf3f1..dce096cd 100644 --- a/.github/workflows/b-binary-build-and-e2e-tests.yaml +++ b/.github/workflows/b-binary-build-and-e2e-tests.yaml @@ -18,7 +18,7 @@ on: GO_VERSION: required: false type: string - default: "1.20" + default: "1.21" GO111MODULE: required: false type: string @@ -53,7 +53,7 @@ on: type: string GO_VERSION: type: string - default: "1.20" + default: "1.21" GO111MODULE: required: true type: string @@ -291,7 +291,7 @@ jobs: CGO_ENABLED: 0 GO111MODULE: "on" BUILD_PLATFORM: linux/amd64,linux/arm64 - GO_VERSION: "1.20" + GO_VERSION: "1.21" REQUIRED_TESTS: '[ "ks_microservice_create_2_cronjob_mitre_and_nsa_proxy", "ks_microservice_triggering_with_cron_job", diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index dc1ab7f5..29165933 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -33,7 +33,7 @@ jobs: CGO_ENABLED: 0 GO111MODULE: "on" BUILD_PLATFORM: ${{ inputs.PLATFORMS && 'linux/amd64,linux/arm64' || 'linux/amd64' }} - GO_VERSION: "1.20" + GO_VERSION: "1.21" REQUIRED_TESTS: '[]' COSIGN: ${{ inputs.CO_SIGN }} HELM_E2E_TEST: false diff --git a/go.mod b/go.mod index 586a3688..807f4cdb 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/kubescape/kubescape/v3 go 1.21 -toolchain go1.21.4 - require ( github.com/adrg/xdg v0.4.0 github.com/anchore/grype v0.65.0