Skip to content

Commit b21d02f

Browse files
committed
Fix Go version mismatch - use stable Go 1.23
The issue was that Go 1.25.x is not yet available in GitHub Actions. Updated: - go.mod: go 1.25.1 → go 1.23 - CI workflow: Use 1.23.x for all jobs (test, lint, format) - Removed 1.24.x and 1.25.x from test matrix This should resolve the golangci-lint failures caused by Go version issues.
1 parent 6a06e72 commit b21d02f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
go-version: ['1.23.x', '1.24.x', '1.25.x']
18+
go-version: ['1.23.x']
1919

2020
steps:
2121
- name: Checkout code
@@ -48,7 +48,7 @@ jobs:
4848
4949
- name: Upload coverage to Codecov
5050
uses: codecov/codecov-action@v4
51-
if: matrix.go-version == '1.25.x'
51+
if: matrix.go-version == '1.23.x'
5252
with:
5353
files: ./coverage.out
5454
flags: unittests
@@ -67,7 +67,7 @@ jobs:
6767
- name: Set up Go
6868
uses: actions/setup-go@v5
6969
with:
70-
go-version: '1.25.x'
70+
go-version: '1.23.x'
7171

7272
- name: golangci-lint
7373
uses: golangci/golangci-lint-action@v4
@@ -87,7 +87,7 @@ jobs:
8787
- name: Set up Go
8888
uses: actions/setup-go@v5
8989
with:
90-
go-version: '1.25.x'
90+
go-version: '1.23.x'
9191

9292
- name: Check formatting
9393
run: |

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/sirosfoundation/go-spocp
22

3-
go 1.25.1
3+
go 1.23

0 commit comments

Comments
 (0)