chore(deps): update dependency golangci/golangci-lint to v2.7.2 (#3254)
* chore(deps): update dependency golangci/golangci-lint to v2.7.2
* chore(linter): fix gocritic deprecation message issue
Signed-off-by: Jan Larwig <jan@larwig.com>
* chore(lint): fix var-naming: avoid package names that conflict with Go standard library package names (revive)
Signed-off-by: Jan Larwig <jan@larwig.com>
---------
Signed-off-by: Jan Larwig <jan@larwig.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jan Larwig <jan@larwig.com>
commit854a74793bb40583c96e6256c22868b07d5f5140
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
dateSun 4 Jan 2026, 10:23 (9 months ago)
parent6a0d821
.github/workflows/ci.yml+1−1
@@ -25,7 +25,7 @@ jobs:
2525 - name: Get dependencies
2626 env:
2727 # renovate: datasource=github-tags depName=golangci/golangci-lint
28− GOLANGCI_LINT_VERSION: v2.5.0
28+ GOLANGCI_LINT_VERSION: v2.7.2
2929 run: |
3030 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
3131 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
.github/workflows/publish-release.yml+1−1
@@ -50,7 +50,7 @@ jobs:
5050 - name: Get dependencies
5151 env:
5252 # renovate: datasource=github-tags depName=golangci/golangci-lint
53− GOLANGCI_LINT_VERSION: v2.5.0
53+ GOLANGCI_LINT_VERSION: v2.7.2
5454 run: |
5555 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
5656 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
oauthproxy.go+1−1
@@ -28,7 +28,7 @@ import (
2828 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/authentication/basic"
2929 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/cookies"
3030 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/encryption"
31− proxyhttp "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/http"
31+ "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/proxyhttp"
3232 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/util"
3333 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/version"
3434
pkg/http/http_suite_test.go → pkg/proxyhttp/http_suite_test.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
22
33import (
44 "bytes"
pkg/http/server.go → pkg/proxyhttp/server.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
22
33import (
44 "context"
pkg/http/server_group.go → pkg/proxyhttp/server_group.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
22
33import (
44 "context"
pkg/http/server_group_test.go → pkg/proxyhttp/server_group_test.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
22
33import (
44 "context"
pkg/http/server_test.go → pkg/proxyhttp/server_test.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
22
33import (
44 "context"
pkg/http/systemd_socket.go → pkg/proxyhttp/systemd_socket.gorenamed+1−1
@@ -1,7 +1,7 @@
11//go:build !windows
22// +build !windows
33
4−package http
4+package proxyhttp
55
66import (
77 "errors"
pkg/http/systemd_unsupported.go → pkg/proxyhttp/systemd_unsupported.gorenamed+1−1
@@ -1,7 +1,7 @@
11//go:build windows
22// +build windows
33
4−package http
4+package proxyhttp
55
66import (
77 "fmt"
providers/provider_default.go+1
@@ -107,6 +107,7 @@ func (p *ProviderData) Redeem(ctx context.Context, redirectURL, code, codeVerifi
107107}
108108
109109// GetEmailAddress returns the Account email address
110+//
110111// Deprecated: Migrate to EnrichSession
111112func (p *ProviderData) GetEmailAddress(_ context.Context, _ *sessions.SessionState) (string, error) {
112113 return "", ErrNotImplemented