Skip to content

Commit 5b62886

Browse files
authored
chore: upgrade Go from 1.24 to 1.26 (#144)
1 parent b2a6639 commit 5b62886

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Go
3333
uses: actions/setup-go@v5
3434
with:
35-
go-version: 1.24
35+
go-version: 1.26
3636
cache-dependency-path: |
3737
go.sum
3838
id: go

.github/workflows/e2e-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Go
3636
uses: actions/setup-go@v5
3737
with:
38-
go-version: 1.24
38+
go-version: 1.26
3939
cache-dependency-path: |
4040
go.sum
4141
id: go

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
# under the License.
1717
#
1818

19-
FROM golang:1.24 AS build
19+
FROM golang:1.26 AS build
2020

2121
WORKDIR /e2e
2222

2323
COPY . .
2424

2525
RUN make linux
2626

27-
FROM golang:1.24 AS bin
27+
FROM golang:1.26 AS bin
2828

2929
COPY --from=build /e2e/bin/linux/e2e /usr/local/bin/e2e
3030

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ all: clean lint test build
4040

4141
.PHONY: lint
4242
lint:
43-
$(GO_LINT) version || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GO_PATH)/bin -d "v2.1.6"
43+
$(GO_LINT) version || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GO_PATH)/bin -d "v2.11.4"
4444
$(GO_LINT) run -v ./...
4545

4646
.PHONY: fix-lint

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/apache/skywalking-infra-e2e
22

3-
go 1.24
3+
go 1.26
44

55
require (
66
github.com/docker/docker v20.10.7+incompatible

0 commit comments

Comments
 (0)