Skip to content

Commit 1c8e889

Browse files
committed
Build with Go 1.23
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 1a07096 commit 1c8e889

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

Diff for: .github/workflows/build.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2020
with:
21-
go-version-file: 'go.mod'
22-
cache: true
21+
go-version: 1.23.x
2322
- name: Setup CUE
2423
uses: cue-lang/setup-cue@a93fa358375740cd8b0078f76355512b9208acb1 # main
2524
with:
26-
version: v0.8.1
25+
version: v0.9.2
2726
- name: Run tests
2827
run: make test
2928
- name: Run linter

Diff for: .github/workflows/docs.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2222
with:
23-
go-version-file: 'go.mod'
24-
cache: true
23+
go-version: 1.23.x
2524
- name: Generate cmd docs
2625
run: make prep-docs
2726
- name: Run mkdocs

Diff for: .github/workflows/e2e.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
- name: Setup Go
2525
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2626
with:
27-
go-version-file: 'go.mod'
28-
cache: true
27+
go-version: 1.23.x
2928
- name: Setup Kubernetes
3029
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
3130
with:

Diff for: .github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Go
2626
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2727
with:
28-
go-version: 1.22.x
28+
go-version: 1.23.x
2929
cache: false
3030
- name: Setup Syft
3131
uses: anchore/sbom-action/download-syft@8d0a6505bf28ced3e85154d13dc6af83299e13f1 # v0.17.4

Diff for: .github/workflows/scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Go
2424
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2525
with:
26-
go-version: 1.22.x
26+
go-version: 1.23.x
2727
cache-dependency-path: |
2828
**/go.sum
2929
**/go.mod

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test: tidy generate fmt vet install-envtest ## Run the Go tests.
2525
KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS) go test ./... -coverprofile cover.out
2626

2727
tidy: ## Tidy Go modules.
28-
rm -f go.sum; go mod tidy -compat=1.22
28+
rm -f go.sum; go mod tidy -compat=1.23
2929

3030
fmt: ## Format Go code.
3131
go fmt ./...

0 commit comments

Comments
 (0)