ci: bump golangci lint (#25513)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L.
2026-08-26 20:06:45 +01:00
committed by GitHub
parent 2e4bcf8b30
commit 95e758670a
3 changed files with 3 additions and 9 deletions

View File

@@ -38,11 +38,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v8
with:
# latest (v2.13.0) bundles honnef.co/go/tools v0.8.0-rc.1, whose nilness
# analyzer panics on getsentry/sentry-go ("unhandled builtin recover",
# https://github.com/dominikh/go-tools/issues/1725). Unpin once a
# release with the fix ships.
version: v2.12.2
args: --timeout 5000s --verbose
skip-cache: true
test-unittest:

2
go.mod
View File

@@ -1,6 +1,6 @@
module goauthentik.io
go 1.26.0
go 1.27.0
require (
beryju.io/ldap v0.2.2

View File

@@ -7,7 +7,7 @@ import (
func GetTLSConfig() *tls.Config {
// Based on
// https://ssl-config.mozilla.org/#server=go&version=1.25&config=intermediate&guideline=5.7
// https://configurator.tlsref.org/#server=go&version=1.27&config=intermediate&hsts&guideline=6.0
tlsConfig := &tls.Config{
MinVersion: tls.VersionTLS12,
CurvePreferences: []tls.CurveID{
@@ -15,7 +15,6 @@ func GetTLSConfig() *tls.Config {
tls.CurveP256,
tls.CurveP384,
},
PreferServerCipherSuites: true,
CipherSuites: []uint16{},
}