Skip to content

Commit 106047c

Browse files
authored
feat: upgrade to go 1.25 (#128)
* feat: upgrade to go 1.25 Signed-off-by: Martin Chodur <[email protected]> * fix: golangci-lint Signed-off-by: Martin Chodur <[email protected]> * fix: golangcilint version Signed-off-by: Martin Chodur <[email protected]> * fix: go version Signed-off-by: Martin Chodur <[email protected]> --------- Signed-off-by: Martin Chodur <[email protected]>
1 parent 7ebbb37 commit 106047c

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

.github/workflows/go.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717

1818
- name: Set up Go
19-
uses: actions/setup-go@v5
19+
uses: actions/setup-go@v6
2020
with:
21-
go-version: "1.24"
21+
go-version: "1.25.4"
2222

23-
- name: Golangci-lint
23+
- name: golangci-lint
2424
uses: golangci/golangci-lint-action@v8
2525
with:
26-
version: "v2.1.6"
26+
version: "v2.6"
2727
args: --timeout 5m0s
2828

2929
- name: Build

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: "1.24"
22+
go-version: "1.25"
2323
- name: Login to Docker Hub
2424
uses: docker/login-action@v3
2525
with:

.github/workflows/test-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.24"
21+
go-version: "1.25"
2222

2323
- name: ReleaseNotes
2424
run: make release_notes.md

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.10.0] - 2025-11-11
11+
- :warning: Changed: `params` field of all validators from now on **does not allow unknown fields**, to avoid typos and mistakes.
12+
- Added: New param `negative` to all validators that does regexp matching named `*MatchesRegexp` to invert the matching logic.
13+
For example with `negative: true` the `alertNameMatchesRegexp` validator will check that the alert name does NOT match the regexp.
14+
- Fix: Some params were not loaded correctly from the config file in some validators, this is now fixed.
15+
- Changed: Bump go version to 1.25.4
16+
1017
## [3.9.0] - 2025-09-29
1118
- Fixed: JSON and Yaml output format of the `promruval validate` command.
1219
- Changed: Bump go version to 1.24.1

go.mod

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

3-
go 1.24.4
3+
go 1.25.4
44

55
require (
66
github.com/alecthomas/kingpin/v2 v2.4.0

0 commit comments

Comments
 (0)