From 8fd67797bb016eb34aac8051190fc1ca29566fb0 Mon Sep 17 00:00:00 2001 From: Jonathan Knight Date: Thu, 16 Jan 2025 08:19:00 +0300 Subject: [PATCH] Update Go version in GitHub actions (#684) --- .github/workflows/build.yaml | 2 +- .github/workflows/coherence-matrix.yaml | 2 +- .github/workflows/compatibility-tests.yaml | 2 +- .github/workflows/doc-check.yaml | 2 +- .github/workflows/istio-tests.yaml | 2 +- .github/workflows/k3d-tests.yaml | 2 +- .github/workflows/k8s-matrix.yaml | 2 +- .github/workflows/minikube-matrix.yaml | 2 +- .github/workflows/prometheus-tests.yaml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tanzu-tests.yaml | 2 +- .github/workflows/trivy.yaml | 2 +- Makefile | 4 ++-- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0a208f2c..002c4f7e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -71,7 +71,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/coherence-matrix.yaml b/.github/workflows/coherence-matrix.yaml index 50e52cf5..f88dbc2c 100644 --- a/.github/workflows/coherence-matrix.yaml +++ b/.github/workflows/coherence-matrix.yaml @@ -161,7 +161,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/compatibility-tests.yaml b/.github/workflows/compatibility-tests.yaml index 185ad0ca..b22f0af8 100644 --- a/.github/workflows/compatibility-tests.yaml +++ b/.github/workflows/compatibility-tests.yaml @@ -135,7 +135,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/doc-check.yaml b/.github/workflows/doc-check.yaml index 83ea533e..5d19cb91 100644 --- a/.github/workflows/doc-check.yaml +++ b/.github/workflows/doc-check.yaml @@ -39,7 +39,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/istio-tests.yaml b/.github/workflows/istio-tests.yaml index 45a83695..0b47bf64 100644 --- a/.github/workflows/istio-tests.yaml +++ b/.github/workflows/istio-tests.yaml @@ -77,7 +77,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/k3d-tests.yaml b/.github/workflows/k3d-tests.yaml index b083d04f..47efb8de 100644 --- a/.github/workflows/k3d-tests.yaml +++ b/.github/workflows/k3d-tests.yaml @@ -71,7 +71,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/k8s-matrix.yaml b/.github/workflows/k8s-matrix.yaml index 63bc85e7..3f357661 100644 --- a/.github/workflows/k8s-matrix.yaml +++ b/.github/workflows/k8s-matrix.yaml @@ -113,7 +113,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/minikube-matrix.yaml b/.github/workflows/minikube-matrix.yaml index b8153d97..8643aa2d 100644 --- a/.github/workflows/minikube-matrix.yaml +++ b/.github/workflows/minikube-matrix.yaml @@ -90,7 +90,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/prometheus-tests.yaml b/.github/workflows/prometheus-tests.yaml index 39506354..11249b68 100644 --- a/.github/workflows/prometheus-tests.yaml +++ b/.github/workflows/prometheus-tests.yaml @@ -71,7 +71,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52eacce7..9e00301d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/tanzu-tests.yaml b/.github/workflows/tanzu-tests.yaml index 0b00289e..7433e4c7 100644 --- a/.github/workflows/tanzu-tests.yaml +++ b/.github/workflows/tanzu-tests.yaml @@ -75,7 +75,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index fbf7b035..45d54c24 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -39,7 +39,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Cache Go Modules uses: actions/cache@v4 diff --git a/Makefile b/Makefile index af51df06..28ed2175 100644 --- a/Makefile +++ b/Makefile @@ -2503,8 +2503,8 @@ endif # ---------------------------------------------------------------------------------------------------------------------- .PHONY: new-version new-version: ## Update the Operator Version (must be run with NEXT_VERSION=x.y.z specified) - $(SED) 's/$(subst .,\.,$(VERSION))/$(NEXT_VERSION)/g' MAKEFILE - $(SED) 's/$(subst .,\.,$(PREV_VERSION))/$(VERSION)/g' MAKEFILE + $(SED) 's/$(subst .,\.,$(VERSION))/$(NEXT_VERSION)/g' Makefile + $(SED) 's/$(subst .,\.,$(PREV_VERSION))/$(VERSION)/g' Makefile find docs \( -name '*.adoc' -o -name '*.yaml' \) -exec $(SED) 's/$(subst .,\.,$(VERSION))/$(NEXT_VERSION)/g' {} + find examples \( -name 'pom.xml' \) -exec $(SED) 's/$(subst .,\.,$(VERSION))<\/version>/$(NEXT_VERSION)<\/version>/g' {} + find examples \( -name '*.adoc' -o -name 'Dockerfile' \) -exec $(SED) 's/$(subst .,\.,$(VERSION))/$(NEXT_VERSION)/g' {} +