Upgrade to Go 1.25 + dependency update (#413)

This commit is contained in:
Thom Seddon
2026-01-13 18:16:28 +00:00
committed by GitHub
parent 26e7995ea1
commit cb5dc1bc9e
7 changed files with 76 additions and 1636 deletions

View File

@@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ^1.13
go-version: '1.25'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Check out code
uses: actions/checkout@v4
- name: Get dependencies
run: |

View File

@@ -10,13 +10,13 @@ jobs:
name: Build release binaries
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ^1.13
go-version: '1.25'
id: go
- name: Build AMD64

View File

@@ -1,4 +1,4 @@
FROM golang:1.20-alpine as builder
FROM golang:1.25-alpine as builder
# Setup
RUN mkdir -p /go/src/github.com/thomseddon/traefik-forward-auth

View File

@@ -1,4 +1,4 @@
FROM golang:1.13-alpine as builder
FROM golang:1.25-alpine as builder
# Setup
RUN mkdir -p /go/src/github.com/thomseddon/traefik-forward-auth

View File

@@ -1,4 +1,4 @@
FROM golang:1.13-alpine as builder
FROM golang:1.25-alpine as builder
# Setup
RUN mkdir -p /go/src/github.com/thomseddon/traefik-forward-auth

42
go.mod
View File

@@ -1,42 +1,38 @@
module github.com/thomseddon/traefik-forward-auth
go 1.22
go 1.25
toolchain go1.22.2
toolchain go1.25.0
require (
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/coreos/go-oidc v2.4.0+incompatible
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.11.1
github.com/thomseddon/go-flags v1.4.1-0.20190507184247-a3629c504486
github.com/traefik/traefik/v2 v2.11.2
golang.org/x/oauth2 v0.20.0
github.com/traefik/traefik/v2 v2.11.34
golang.org/x/oauth2 v0.34.0
gopkg.in/square/go-jose.v2 v2.6.0
)
require (
github.com/containous/alice v0.0.0-20181107144136-d83ebdd94cbd // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gravitational/trace v1.4.0 // indirect
github.com/jonboulle/clockwork v0.4.0 // indirect
github.com/miekg/dns v1.1.59 // indirect
github.com/gravitational/trace v1.5.1 // indirect
github.com/miekg/dns v1.1.70 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/pquerna/cachecontrol v0.2.0 // indirect
github.com/traefik/paerser v0.2.0 // indirect
github.com/vulcand/predicate v1.2.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/tools v0.21.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/protobuf v1.34.1 // indirect
github.com/traefik/paerser v0.2.2 // indirect
github.com/vulcand/predicate v1.3.0 // indirect
golang.org/x/crypto v0.47.0 // indirect
golang.org/x/mod v0.32.0 // indirect
golang.org/x/net v0.48.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/text v0.33.0 // indirect
golang.org/x/tools v0.40.0 // indirect
gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
@@ -44,6 +40,6 @@ require (
replace (
github.com/abbot/go-http-auth => github.com/containous/go-http-auth v0.4.1-0.20200324110947-a37a7636d23e
github.com/go-check/check => github.com/containous/check v0.0.0-20170915194414-ca0bf163426a
github.com/gorilla/mux => github.com/containous/mux v0.0.0-20220627093034-b2dd784e613f
github.com/gorilla/mux => github.com/containous/mux v0.0.0-20250523120546-41b6ec3aed59
github.com/mailgun/minheap => github.com/containous/minheap v0.0.0-20190809180810-6e71eb837595
)

1644
go.sum

File diff suppressed because it is too large Load Diff