Skip to content

Commit 1fbf9bd

Browse files
authored
Adjust go.mod values for go/toolchain (#506)
* set go to a minor and toolchain to target * update golang-ci config syntax
1 parent 8b77677 commit 1fbf9bd

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.golangci.json

+14-8
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,26 @@
1212
},
1313
"linters-settings": {
1414
"govet": {
15-
"check-shadowing": false
15+
"disable": [
16+
"shadow"
17+
]
1618
},
1719
"revive": {
18-
"rules": {
19-
"name": "confusing-naming",
20-
"disabled": true
21-
}
20+
"rules": [
21+
{
22+
"name": "confusing-naming",
23+
"disabled": true
24+
}
25+
]
2226
}
2327
},
2428
"run": {
25-
"skip-dirs": [
26-
"pkg/generated"
27-
],
2829
"tests": false,
2930
"timeout": "10m"
31+
},
32+
"issues": {
33+
"exclude-dirs": [
34+
"pkg/generated"
35+
]
3036
}
3137
}

go.mod

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/rancher/wrangler/v3
22

3-
go 1.23.3
3+
go 1.23.0
4+
5+
toolchain go1.23.4
46

57
require (
68
github.com/evanphx/json-patch v5.9.0+incompatible

0 commit comments

Comments
 (0)