Skip to content

Commit e194857

Browse files
fix checks
1 parent 2e8deb9 commit e194857

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ linters:
136136
# for github.com/sapcc/vpa_butler
137137
- k8s.io/client-go
138138
toolchain-forbidden: true
139-
go-version-pattern: 1\.\d+(\.0)?$
139+
go-version-pattern: 1\.\d+(\.\d+)?$ # manually edited, as default rule does not allow go version with patch, but some deps require e.g. go 1.26.2
140140
gosec:
141141
excludes:
142142
# gosec wants us to set a short ReadHeaderTimeout to avoid Slowloris attacks, but doing so would expose us to Keep-Alive race conditions (see https://iximiuz.com/en/posts/reverse-proxy-http-keep-alive-and-502s/

.typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
[default.extend-words]
66

7+
[default]
8+
extend-ignore-identifiers-re = ["ANDed"]
9+
710
[files]
811
extend-exclude = [
912
"go.mod",

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cobaltcore-dev/cloud-profile-sync
22

3-
go 1.26
3+
go 1.26.2
44

55
require (
66
github.com/blang/semver/v4 v4.0.0

0 commit comments

Comments
 (0)