Skip to content

Commit e99f18b

Browse files
committed
build: upgrade CI Go version to 1.25 and Elasticsearch to 8.x
- Bump go-version from 1.20 to 1.25 across all workflows (lint, test, main, release) to match go.mod requirement - Upgrade test Elasticsearch service image from 7.17.9 to 8.17.1
1 parent f82102c commit e99f18b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fetch-depth: 0
1212
- uses: actions/setup-go@v6
1313
with:
14-
go-version: "1.20"
14+
go-version: "1.25"
1515
- name: golangci-lint
1616
uses: golangci/golangci-lint-action@v9
1717
with:

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v6
1717
with:
18-
go-version: "1.20"
18+
go-version: "1.25"
1919
- name: Login to DockerHub
2020
uses: docker/login-action@v4
2121
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v6
1818
with:
19-
go-version: "1.20"
19+
go-version: "1.25"
2020
- name: Login to DockerHub
2121
uses: docker/login-action@v4
2222
with:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
services:
88
elasticsearch:
9-
image: elasticsearch:7.17.9
9+
image: elasticsearch:8.17.1
1010
ports:
1111
- 9200:9200
1212
env:
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v6
2020
- uses: actions/setup-go@v6
2121
with:
22-
go-version: "1.20"
22+
go-version: "1.25"
2323
- name: Install dependencies
2424
run: sudo apt-get install build-essential
2525
- name: Install packages

0 commit comments

Comments
 (0)