Skip to content

Commit b4bc93d

Browse files
authored
Merge pull request #1726 from fluxcd/go-1.23
Build with Go 1.23
2 parents a7d90c2 + 6ee00e1 commit b4bc93d

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/build.yaml

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

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Go
3232
uses: actions/setup-go@v5
3333
with:
34-
go-version: 1.22.x
34+
go-version: 1.23.x
3535
- uses: fluxcd/flux2/action@main
3636
- uses: sigstore/[email protected]
3737
- name: Prepare
@@ -125,7 +125,7 @@ jobs:
125125
if: startsWith(github.ref, 'refs/tags/v')
126126
with:
127127
version: latest
128-
args: release --release-notes=notes.md --rm-dist --skip-validate
128+
args: release --release-notes=notes.md --clean --skip-validate
129129
env:
130130
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131131
- name: Generate SLSA metadata

.github/workflows/scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Go
3535
uses: actions/setup-go@v5
3636
with:
37-
go-version: 1.22.x
37+
go-version: 1.23.x
3838
- name: Initialize CodeQL
3939
uses: github/codeql-action/init@v3
4040
with:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine as builder
1+
FROM golang:1.23-alpine as builder
22

33
ARG TARGETPLATFORM
44
ARG REVISON

Dockerfile.loadtester

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine as builder
1+
FROM golang:1.23-alpine as builder
22

33
ARG TARGETPLATFORM
44
ARG TARGETARCH

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build:
66
CGO_ENABLED=0 go build -a -o ./bin/flagger ./cmd/flagger
77

88
tidy:
9-
rm -f go.sum; go mod tidy -compat=1.22
9+
rm -f go.sum; go mod tidy -compat=1.23
1010

1111
vet:
1212
go vet ./...

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fluxcd/flagger
22

3-
go 1.22.0
3+
go 1.23.0
44

55
require (
66
cloud.google.com/go/monitoring v1.21.2

0 commit comments

Comments
 (0)