Skip to content

Commit f8a17df

Browse files
authored
build: upgrade minimum Go version to 1.25 (#406)
1 parent ad3eb17 commit f8a17df

10 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/getgotools/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ runs:
44
using: 'composite'
55
steps:
66
- name: Install go
7-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
7+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
8+
with:
9+
go-version: '1.25.0'
810

911
- name: Build and install mage
1012
shell: bash

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ When you submit a pull request, if you have not already done so, you will be pro
2121

2222
### Prerequisites
2323

24-
- **Go 1.24+** - Required for building and running the application
24+
- **Go 1.25+** - Required for building and running the application
2525
- **Git** - For version control and submitting changes
2626
- **Mage** - Our build automation tool
2727

@@ -274,7 +274,7 @@ See the [testing documentation](docs/how-to/testing.md) for detailed guidelines
274274

275275
### Common Issues
276276

277-
- **Build failures**: Ensure Go version is 1.24+ and all dependencies are installed. Try running `mage build -v`. Ensure `GOPATH` is configured.
277+
- **Build failures**: Ensure Go version is 1.25+ and all dependencies are installed. Try running `mage build -v`. Ensure `GOPATH` is configured.
278278
- **Test failures**: Run `mage generate` to ensure generated code is up to date
279279
- **Lint errors**: Address specific linting issues or discuss exceptions with maintainers
280280
- **Command not found**: Run `mage install`, ensure `GOPATH` is in your `$PATH`.

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/gim-home/azldev-preview
22

3-
go 1.24.1
4-
5-
toolchain go1.24.3
3+
go 1.25.0
64

75
require (
86
dario.cat/mergo v1.0.2

tools/editorconfig-checker/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gim-home/azldev-preview/tools/editorconfig-checker
22

3-
go 1.24.3
3+
go 1.25.0
44

55
tool github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker
66

tools/go-licenses/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gim-home/azldev-preview/tools/go-licenses
22

3-
go 1.24.3
3+
go 1.25.0
44

55
tool github.com/google/go-licenses/v2
66

tools/gocov-xml/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gim-home/azldev-preview/tools/gocov-xml
22

3-
go 1.24.3
3+
go 1.25.0
44

55
tool github.com/AlekSi/gocov-xml
66

tools/gocov/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gim-home/azldev-preview/tools/gocov
22

3-
go 1.24.3
3+
go 1.25.0
44

55
tool github.com/axw/gocov/gocov
66

tools/golangci-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/gim-home/azldev-preview/tools/golangci-lint
22

3-
go 1.24.3
3+
go 1.25.0
44

55
tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint
66

tools/mockgen/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gim-home/azldev-preview/tools/mockgen
22

3-
go 1.24.3
3+
go 1.25.0
44

55
tool go.uber.org/mock/mockgen
66

tools/stringer/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gim-home/azldev-preview/tools/stringer
22

3-
go 1.24.3
3+
go 1.25.0
44

55
tool golang.org/x/tools/cmd/stringer
66

0 commit comments

Comments
 (0)