chore(deps): update golangci-lint to 2.4.0 (#1291)

This commit is contained in:
kolaente 2025-08-14 12:50:49 +02:00 committed by GitHub
parent 27d3956182
commit 31611e13a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
with:
version: v2.2.2
version: v2.4.0
api-check-translations:
runs-on: ubuntu-latest

View File

@ -60,7 +60,8 @@ func setupUnixSocket(e *echo.Echo) error {
defer utils.Umask(oldmask)
}
l, err := net.Listen("unix", path)
cfg := net.ListenConfig{}
l, err := cfg.Listen(context.Background(), "unix", path)
if err != nil {
return err
}