diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b2eaf715f..97dd9b051 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,7 +23,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x cache-dependency-path: | **/go.sum **/go.mod diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba77a9753..6b5762231 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - uses: fluxcd/flux2/action@main - uses: sigstore/cosign-installer@v3.5.0 - name: Prepare @@ -125,7 +125,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') with: version: latest - args: release --release-notes=notes.md --rm-dist --skip-validate + args: release --release-notes=notes.md --clean --skip-validate env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Generate SLSA metadata diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 72b60d21f..cb87dba98 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -34,7 +34,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: diff --git a/Dockerfile b/Dockerfile index 6a70981e6..2fd8760e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine as builder +FROM golang:1.23-alpine as builder ARG TARGETPLATFORM ARG REVISON diff --git a/Dockerfile.loadtester b/Dockerfile.loadtester index ea2b5502d..1aad9b910 100644 --- a/Dockerfile.loadtester +++ b/Dockerfile.loadtester @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine as builder +FROM golang:1.23-alpine as builder ARG TARGETPLATFORM ARG TARGETARCH diff --git a/Makefile b/Makefile index cbfd85978..25eda686b 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ build: CGO_ENABLED=0 go build -a -o ./bin/flagger ./cmd/flagger tidy: - rm -f go.sum; go mod tidy -compat=1.22 + rm -f go.sum; go mod tidy -compat=1.23 vet: go vet ./... diff --git a/go.mod b/go.mod index 46d9f6e71..727ec4fb0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fluxcd/flagger -go 1.22.0 +go 1.23.0 require ( cloud.google.com/go/monitoring v1.21.2