Commit 7b948f9
authored
chore(ci): Update Go to 1.25 and upgrade golangci-lint (#46)
* chore(ci): Update Go to 1.25 and upgrade golangci-lint
This commit updates the GitHub Actions CI workflow to add support for the
upcoming Go 1.25 release and upgrades the linting tools.
The build and test jobs now run against Go versions 1.24 and 1.25, dropping
support for the older Go 1.22. This aligns with the standard practice of
supporting the two latest major Go releases, ensuring the project remains
compatible with the current language toolchain.
Additionally, the `golangci-lint` job is updated:
- The Go version for the lint job is set to 1.25.
- The `golangci/golangci-lint-action` is upgraded from v2.1.6 to v2.5.0
to leverage the latest linters, performance improvements, and bug fixes.
* Changing go.mod to 1.24, that is the oldest supported version1 parent 4ad8c75 commit 7b948f9
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
0 commit comments