Skip to content

Commit 28ddd66

Browse files
mergify[bot]github-actions[bot]pkoutsovasilis
authored
[Automation] Bump Golang version to 1.24.7 (#5400) (#5454)
* chore: Update go.mod Made with ❤️️ by updatecli * chore: Update go.mod Made with ❤️️ by updatecli * chore: Update go.mod Made with ❤️️ by updatecli * chore: Update .go-version Made with ❤️️ by updatecli * chore: Update .golangci.yml Made with ❤️️ by updatecli * fix: switch Dockerfile to use golang-crossbuild * fix: add SUFFIX arg and mage in the PATH --------- (cherry picked from commit c0f5f75) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Panos Koutsovasilis <[email protected]>
1 parent b2f5556 commit 28ddd66

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24.6
1+
1.24.7

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run:
44
timeout: 1m
55
build-tags:
66
- integration
7-
go: "1.24.6"
7+
go: "1.24.7"
88

99
issues:
1010
# Maximum count of issues with the same text.

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
ARG GO_VERSION
2-
FROM --platform=${BUILDPLATFORM:-linux} golang:${GO_VERSION}-bullseye AS builder
2+
ARG SUFFIX
3+
FROM --platform=${BUILDPLATFORM:-linux} docker.elastic.co/beats-dev/golang-crossbuild:${GO_VERSION}-${SUFFIX} AS builder
34

45
WORKDIR /fleet-server
56

67
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
78
COPY go.mod go.sum ./
89
RUN go mod download && go mod verify
910
RUN go install github.com/magefile/mage # Uses version from go.mod implicitly
11+
ENV PATH="$PATH:/go/bin"
12+
ENV MAGEFILE_CACHE=/fleet-server/build/.magefile
1013

1114
COPY . .
1215

dev-tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/fleet-server/dev-tools
22

3-
go 1.24.6
3+
go 1.24.7
44

55
tool (
66
github.com/elastic/go-json-schema-generate/cmd/schema-generate

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/fleet-server/v7
22

3-
go 1.24.6
3+
go 1.24.7
44

55
require (
66
github.com/Pallinder/go-randomdata v1.2.0

testing/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/fleet-server/testing
22

3-
go 1.24.6
3+
go 1.24.7
44

55
replace (
66
github.com/elastic/fleet-server/pkg/api => ../pkg/api

0 commit comments

Comments
 (0)