diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e1b22d0d..f974e260 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,12 +18,11 @@ jobs: - name: Setup Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: 'go.mod' - cache: true + go-version: 1.23.x - name: Setup CUE uses: cue-lang/setup-cue@a93fa358375740cd8b0078f76355512b9208acb1 # main with: - version: v0.8.1 + version: v0.9.2 - name: Run tests run: make test - name: Run linter diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 95aabdac..db0b83ed 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -20,8 +20,7 @@ jobs: - name: Setup Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: 'go.mod' - cache: true + go-version: 1.23.x - name: Generate cmd docs run: make prep-docs - name: Run mkdocs diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 3ef631db..a494210f 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -24,8 +24,7 @@ jobs: - name: Setup Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: 'go.mod' - cache: true + go-version: 1.23.x - name: Setup Kubernetes uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 60954291..c27f224a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,7 @@ jobs: - name: Setup Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.22.x + go-version: 1.23.x cache: false - name: Setup Syft uses: anchore/sbom-action/download-syft@8d0a6505bf28ced3e85154d13dc6af83299e13f1 # v0.17.4 diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index e0d3f40c..3fe1b834 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.22.x + go-version: 1.23.x cache-dependency-path: | **/go.sum **/go.mod diff --git a/Makefile b/Makefile index bf5e0157..7c5b80c9 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ test: tidy generate fmt vet install-envtest ## Run the Go tests. KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS) go test ./... -coverprofile cover.out tidy: ## Tidy Go modules. - rm -f go.sum; go mod tidy -compat=1.22 + rm -f go.sum; go mod tidy -compat=1.23 fmt: ## Format Go code. go fmt ./...