git.iko.soy/typeable/oauth2-proxy
on master help sign in
chore(deps): update dependency golangci/golangci-lint to v2.7.2 (#3254)
854a747renovate[bot]
.github/workflows/ci.yml+1−1
@@ -25,7 +25,7 @@ jobs:
25 - name: Get dependencies
25 - name: Get dependencies
26 env:
26 env:
27 # renovate: datasource=github-tags depName=golangci/golangci-lint
27 # renovate: datasource=github-tags depName=golangci/golangci-lint
28− GOLANGCI_LINT_VERSION: v2.5.0
28+ GOLANGCI_LINT_VERSION: v2.7.2
29 run: |
29 run: |
30 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
30 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
31 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
31 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:
50 - name: Get dependencies
50 - name: Get dependencies
51 env:
51 env:
52 # renovate: datasource=github-tags depName=golangci/golangci-lint
52 # renovate: datasource=github-tags depName=golangci/golangci-lint
53− GOLANGCI_LINT_VERSION: v2.5.0
53+ GOLANGCI_LINT_VERSION: v2.7.2
54 run: |
54 run: |
55 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
55 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
56 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
56 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 (
28 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/authentication/basic"
28 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/authentication/basic"
29 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/cookies"
29 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/cookies"
30 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/encryption"
30 "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"
32 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/util"
32 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/util"
33 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/version"
33 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/version"
34
34
pkg/http/http_suite_test.go → pkg/proxyhttp/http_suite_test.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
2
2
3import (
3import (
4 "bytes"
4 "bytes"
pkg/http/server.go → pkg/proxyhttp/server.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
2
2
3import (
3import (
4 "context"
4 "context"
pkg/http/server_group.go → pkg/proxyhttp/server_group.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
2
2
3import (
3import (
4 "context"
4 "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
2
2
3import (
3import (
4 "context"
4 "context"
pkg/http/server_test.go → pkg/proxyhttp/server_test.gorenamed+1−1
@@ -1,4 +1,4 @@
1−package http
1+package proxyhttp
2
2
3import (
3import (
4 "context"
4 "context"
pkg/http/systemd_socket.go → pkg/proxyhttp/systemd_socket.gorenamed+1−1
@@ -1,7 +1,7 @@
1//go:build !windows
1//go:build !windows
2// +build !windows
2// +build !windows
3
3
4−package http
4+package proxyhttp
5
5
6import (
6import (
7 "errors"
7 "errors"
pkg/http/systemd_unsupported.go → pkg/proxyhttp/systemd_unsupported.gorenamed+1−1
@@ -1,7 +1,7 @@
1//go:build windows
1//go:build windows
2// +build windows
2// +build windows
3
3
4−package http
4+package proxyhttp
5
5
6import (
6import (
7 "fmt"
7 "fmt"
providers/provider_default.go+1
@@ -107,6 +107,7 @@ func (p *ProviderData) Redeem(ctx context.Context, redirectURL, code, codeVerifi
107}
107}
108
108
109// GetEmailAddress returns the Account email address
109// GetEmailAddress returns the Account email address
110+//
110// Deprecated: Migrate to EnrichSession
111// Deprecated: Migrate to EnrichSession
111func (p *ProviderData) GetEmailAddress(_ context.Context, _ *sessions.SessionState) (string, error) {
112func (p *ProviderData) GetEmailAddress(_ context.Context, _ *sessions.SessionState) (string, error) {
112 return "", ErrNotImplemented
113 return "", ErrNotImplemented