From 31611e13a4d20976efab29515e9e55c9f263c816 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 14 Aug 2025 12:50:49 +0200 Subject: [PATCH] chore(deps): update golangci-lint to 2.4.0 (#1291) --- .github/workflows/test.yml | 2 +- pkg/cmd/web.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c48056e7..6c0013733 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/pkg/cmd/web.go b/pkg/cmd/web.go index d99bda142..d4dde5953 100644 --- a/pkg/cmd/web.go +++ b/pkg/cmd/web.go @@ -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 }