chore: update dependencies, and linter
This commit is contained in:
parent
ec006d3466
commit
48166b4990
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO_VERSION: stable
|
||||
GOLANGCI_LINT_VERSION: v1.61.0
|
||||
GOLANGCI_LINT_VERSION: v1.62.2
|
||||
CGO_ENABLED: 0
|
||||
|
||||
steps:
|
||||
|
||||
@ -1,5 +1,25 @@
|
||||
run:
|
||||
timeout: 5m
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- exportloopref # deprecated
|
||||
- sqlclosecheck # not relevant (SQL)
|
||||
- rowserrcheck # not relevant (SQL)
|
||||
- cyclop # duplicate of gocyclo
|
||||
- lll
|
||||
- dupl
|
||||
- prealloc
|
||||
- wsl
|
||||
- nlreturn
|
||||
- mnd
|
||||
- testpackage
|
||||
- paralleltest
|
||||
- tparallel
|
||||
- err113
|
||||
- wrapcheck
|
||||
- exhaustive
|
||||
- exhaustruct
|
||||
- varnamelen
|
||||
- nilnil
|
||||
|
||||
linters-settings:
|
||||
govet:
|
||||
@ -61,31 +81,6 @@ linters-settings:
|
||||
- G301 # Expect directory permissions to be 0750 or less
|
||||
- G306 # Expect WriteFile permissions to be 0600 or less
|
||||
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- gomnd # deprecated
|
||||
- execinquery # deprecated
|
||||
- exportloopref # deprecated
|
||||
- sqlclosecheck # not relevant (SQL)
|
||||
- rowserrcheck # not relevant (SQL)
|
||||
- cyclop # duplicate of gocyclo
|
||||
- lll
|
||||
- dupl
|
||||
- prealloc
|
||||
- wsl
|
||||
- nlreturn
|
||||
- mnd
|
||||
- testpackage
|
||||
- paralleltest
|
||||
- tparallel
|
||||
- err113
|
||||
- wrapcheck
|
||||
- exhaustive
|
||||
- exhaustruct
|
||||
- varnamelen
|
||||
- nilnil
|
||||
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
max-issues-per-linter: 0
|
||||
@ -105,3 +100,6 @@ output:
|
||||
sort-order:
|
||||
- linter
|
||||
- file
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
|
||||
4
go.mod
4
go.mod
@ -5,7 +5,7 @@ go 1.23.0
|
||||
require (
|
||||
github.com/charmbracelet/lipgloss v1.0.0
|
||||
github.com/fsnotify/fsnotify v1.8.0
|
||||
github.com/go-acme/lego/v4 v4.20.2
|
||||
github.com/go-acme/lego/v4 v4.20.4
|
||||
github.com/kvtools/boltdb v1.0.2
|
||||
github.com/kvtools/consul v1.0.2
|
||||
github.com/kvtools/etcdv2 v1.0.2
|
||||
@ -15,7 +15,7 @@ require (
|
||||
github.com/mitchellh/go-homedir v1.1.0
|
||||
github.com/spf13/cobra v1.8.1
|
||||
github.com/spf13/viper v1.19.0
|
||||
github.com/stretchr/testify v1.9.0
|
||||
github.com/stretchr/testify v1.10.0
|
||||
github.com/traefik/traefik/v2 v2.11.14
|
||||
github.com/traefik/traefik/v3 v3.2.1
|
||||
)
|
||||
|
||||
7
go.sum
7
go.sum
@ -289,8 +289,8 @@ github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q
|
||||
github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
|
||||
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
|
||||
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
|
||||
github.com/go-acme/lego/v4 v4.20.2 h1:ZwO3oLZb8fL6up1OZVJP3yHuvqhozzlEmyqKmhrPchQ=
|
||||
github.com/go-acme/lego/v4 v4.20.2/go.mod h1:foauPlhnhoq8WUphaWx5U04uDc+JGhk4ZZtPz/Vqsjg=
|
||||
github.com/go-acme/lego/v4 v4.20.4 h1:yCQGBX9jOfMbriEQUocdYm7EBapdTp8nLXYG8k6SqSU=
|
||||
github.com/go-acme/lego/v4 v4.20.4/go.mod h1:foauPlhnhoq8WUphaWx5U04uDc+JGhk4ZZtPz/Vqsjg=
|
||||
github.com/go-cmd/cmd v1.0.5/go.mod h1:y8q8qlK5wQibcw63djSl/ntiHUHXHGdCkPk0j4QeW4s=
|
||||
github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w=
|
||||
github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q=
|
||||
@ -941,8 +941,9 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
|
||||
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
|
||||
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
||||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
||||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
|
||||
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
|
||||
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
|
||||
|
||||
Loading…
Reference in New Issue
Block a user