Skip to content

Commit 77fae2c

Browse files
authored
ci: use go.mod version of go in github actions (#333)
1 parent 1744059 commit 77fae2c

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
- name: Checkout repository
3737
uses: actions/checkout@v6
3838

39-
- name: Setup Golang
39+
- name: Install Go
4040
uses: actions/setup-go@v6
4141
with:
42-
go-version: '1.24'
42+
go-version-file: go.mod
4343
cache: true
4444

4545
- name: Run Golang benchmarks

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install Go
3838
uses: actions/setup-go@v6
3939
with:
40-
go-version: '1.24'
40+
go-version-file: go.mod
4141
cache: true
4242

4343
- name: Build
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install Go
9090
uses: actions/setup-go@v6
9191
with:
92-
go-version: '1.24'
92+
go-version-file: go.mod
9393
cache: true
9494

9595
- name: Lint
@@ -132,7 +132,7 @@ jobs:
132132
- name: Install Go
133133
uses: actions/setup-go@v6
134134
with:
135-
go-version: '1.24'
135+
go-version-file: go.mod
136136
cache: true
137137

138138
- name: Download dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Go
2323
uses: actions/setup-go@v6
2424
with:
25-
go-version: '1.24'
25+
go-version-file: go.mod
2626
cache: true
2727

2828
- name: Run GoReleaser

go.mod

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

3-
go 1.24.0
3+
go 1.24.6
44

55
require (
66
contrib.go.opencensus.io/exporter/jaeger v0.2.1

0 commit comments

Comments
 (0)