Skip to content

Commit c6f0e1e

Browse files
committed
build: bump go directive to 1.26 across all modules
1 parent 915c16e commit c6f0e1e

7 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions:
1212
env:
1313
TASK_VERSION: 3.44.0
1414
NODE_VERSION: lts/*
15+
GO_VERSION: '1.26.x'
1516

1617
jobs:
1718
lint:
@@ -24,7 +25,7 @@ jobs:
2425
- name: Setup Go
2526
uses: actions/setup-go@v5
2627
with:
27-
go-version-file: go.mod
28+
go-version: ${{ env.GO_VERSION }}
2829

2930
- name: Install Task
3031
uses: go-task/setup-task@v2
@@ -41,19 +42,16 @@ jobs:
4142
run: task lint:ci
4243

4344
test:
44-
name: Test (Go ${{ matrix.go-version }})
45+
name: Test
4546
runs-on: ubuntu-latest
46-
strategy:
47-
matrix:
48-
go-version: ['1.24.x', '1.25.x', '1.26.x']
4947
steps:
5048
- name: Checkout
5149
uses: actions/checkout@v4
5250

53-
- name: Setup Go ${{ matrix.go-version }}
51+
- name: Setup Go
5452
uses: actions/setup-go@v5
5553
with:
56-
go-version: ${{ matrix.go-version }}
54+
go-version: ${{ env.GO_VERSION }}
5755

5856
- name: Test
5957
run: go run ./multimod go test ./... -v

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Requirements
44

5-
- **Go 1.25.x** — see `go.mod` for exact version.
5+
- **Go 1.26.x** — see `go.mod` for exact version.
66
- **[golangci-lint](https://golangci-lint.run/welcome/install/)** — install locally.
77
- **[Task](https://taskfile.dev/)** — task runner. Install: `go install github.com/go-task/task/v3/cmd/task@latest`
88
- **Node.js** (optional) — only for commitlint and docs build.

_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/thumbrise/multimod/tools
22

3-
go 1.25.0
3+
go 1.26
44

55
require (
66
dario.cat/mergo v1.0.0 // indirect

go.mod

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

3-
go 1.25.0
3+
go 1.26

go.work

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.25.0
1+
go 1.26
22

33
use (
44
.

multimod/go.mod

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

3-
go 1.25.0
3+
go 1.26
44

55
require (
66
github.com/spf13/cobra v1.10.2

multirelease/go.mod

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

3-
go 1.25.0
3+
go 1.26
44

55
require (
66
github.com/spf13/cobra v1.10.2

0 commit comments

Comments
 (0)