Update GolangCI config to go 1.23 and exclude examples

Upgraded the Go version in GolangCI configuration from 1.22 to 1.23. Added the "examples" directory to the exclusion list for linting.
This commit is contained in:
Winni Neessen 2024-08-16 10:17:31 +02:00
parent 590dfe97e7
commit e288bcae5e
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -3,8 +3,9 @@
## SPDX-License-Identifier: MIT ## SPDX-License-Identifier: MIT
[run] [run]
go = "1.22" go = "1.23"
tests = true tests = true
exclude-dirs = ["examples"]
[linters] [linters]
enable = ["stylecheck", "whitespace", "containedctx", "contextcheck", "decorder", enable = ["stylecheck", "whitespace", "containedctx", "contextcheck", "decorder",