From 796cbec0da1089a5e25f21d4bcce4f566dcf376b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:25:15 +0100 Subject: [PATCH] chore(deps): update dependency golangci/golangci-lint to v1.56.1 (#56) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow --- Makefile | 2 +- plugin/commit_test.go | 2 +- plugin/network.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5279c69..661eb94 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # renovate: datasource=github-releases depName=mvdan/gofumpt GOFUMPT_PACKAGE_VERSION := v0.6.0 # renovate: datasource=github-releases depName=golangci/golangci-lint -GOLANGCI_LINT_PACKAGE_VERSION := v1.55.2 +GOLANGCI_LINT_PACKAGE_VERSION := v1.56.1 GO ?= go PACKAGES ?= $(shell go list ./...) diff --git a/plugin/commit_test.go b/plugin/commit_test.go index 053cb9b..f997764 100644 --- a/plugin/commit_test.go +++ b/plugin/commit_test.go @@ -51,7 +51,7 @@ func Test_currFromContext(t *testing.T) { options := Options{ Name: "dummy", - Execute: func(ctx context.Context) error { return nil }, + Execute: func(_ context.Context) error { return nil }, } got := New(options) diff --git a/plugin/network.go b/plugin/network.go index 76cefd3..c3f3e8e 100644 --- a/plugin/network.go +++ b/plugin/network.go @@ -117,7 +117,7 @@ func NetworkFromContext(ctx *cli.Context) Network { if contextDialer, ok := proxyDialer.(proxy.ContextDialer); ok { transport.DialContext = contextDialer.DialContext } else { - transport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) { + transport.DialContext = func(_ context.Context, network, addr string) (net.Conn, error) { return proxyDialer.Dial(network, addr) } }