Skip to content

Commit 3e0f5cd

Browse files
committed
Build with Go 1.26
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent c45b0e8 commit 3e0f5cd

10 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/backport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
permissions:
88
contents: write # for reading and creating branches.
99
pull-requests: write # for creating pull requests against release branches.
10-
uses: fluxcd/gha-workflows/.github/workflows/backport.yaml@v0.4.0
10+
uses: fluxcd/gha-workflows/.github/workflows/backport.yaml@v0.6.0
1111
secrets:
1212
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}

.github/workflows/cifuzz.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
contents: read # for reading the repository code.
1212
steps:
1313
- name: Test suite setup
14-
uses: fluxcd/gha-workflows/.github/actions/setup-kubernetes@v0.4.0
14+
uses: fluxcd/gha-workflows/.github/actions/setup-kubernetes@v0.6.0
1515
with:
16-
go-version: 1.25.x
16+
go-version: 1.26.x
1717
- name: Smoke test Fuzzers
1818
run: make fuzz-smoketest
1919
env:

.github/workflows/e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
contents: read # for reading the repository code.
1414
steps:
1515
- name: Test suite setup
16-
uses: fluxcd/gha-workflows/.github/actions/setup-kubernetes@v0.4.0
16+
uses: fluxcd/gha-workflows/.github/actions/setup-kubernetes@v0.6.0
1717
with:
18-
go-version: 1.25.x
18+
go-version: 1.26.x
1919
- name: Verify
2020
run: make verify
2121
- name: Enable integration tests

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
contents: write # for creating the GitHub release.
1616
id-token: write # for creating OIDC tokens for signing.
1717
packages: write # for pushing and signing container images.
18-
uses: fluxcd/gha-workflows/.github/workflows/controller-release.yaml@v0.4.0
18+
uses: fluxcd/gha-workflows/.github/workflows/controller-release.yaml@v0.6.0
1919
with:
2020
controller: ${{ github.event.repository.name }}
2121
release-candidate-prefix: ${{ github.event.inputs.tag }}

.github/workflows/scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
contents: read # for reading the repository code.
1313
security-events: write # for uploading the CodeQL analysis results.
14-
uses: fluxcd/gha-workflows/.github/workflows/code-scan.yaml@v0.4.0
14+
uses: fluxcd/gha-workflows/.github/workflows/code-scan.yaml@v0.6.0
1515
secrets:
1616
github-token: ${{ secrets.GITHUB_TOKEN }}
1717
fossa-token: ${{ secrets.FOSSA_TOKEN }}

.github/workflows/sync-labels.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
permissions:
1212
contents: read # for reading the labels file.
1313
issues: write # for creating and updating labels.
14-
uses: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml@v0.4.0
14+
uses: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml@v0.6.0
1515
secrets:
1616
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Test suite setup
14-
uses: fluxcd/gha-workflows/.github/actions/setup-kubernetes@v0.4.0
14+
uses: fluxcd/gha-workflows/.github/actions/setup-kubernetes@v0.6.0
1515
with:
16-
go-version: 1.25.x
16+
go-version: 1.26.x
1717
- name: Run tests
1818
env:
1919
SKIP_COSIGN_VERIFICATION: true

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG GO_VERSION=1.25
2-
ARG XX_VERSION=1.6.1
1+
ARG GO_VERSION=1.26
2+
ARG XX_VERSION=1.9.0
33

44
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
55

@@ -35,7 +35,7 @@ ARG TARGETARCH
3535
ENV CGO_ENABLED=0
3636
RUN xx-go build -trimpath -a -o source-controller main.go
3737

38-
FROM alpine:3.22
38+
FROM alpine:3.23
3939

4040
ARG TARGETPLATFORM
4141
RUN apk --no-cache add ca-certificates \

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ api-docs: gen-crd-api-reference-docs ## Generate API reference documentation
118118
$(GEN_CRD_API_REFERENCE_DOCS) -api-dir=./api/v1 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/v1/source.md
119119

120120
tidy: ## Run go mod tidy
121-
cd api; rm -f go.sum; go mod tidy -compat=1.25
122-
rm -f go.sum; go mod tidy -compat=1.25
121+
cd api; rm -f go.sum; go mod tidy -compat=1.26
122+
rm -f go.sum; go mod tidy -compat=1.26
123123

124124
fmt: ## Run go fmt against code
125125
go fmt ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fluxcd/source-controller
22

3-
go 1.25.5
3+
go 1.26.0
44

55
replace github.com/fluxcd/source-controller/api => ./api
66

0 commit comments

Comments
 (0)