mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
ci: bump golangci lint (#25513)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
5
.github/workflows/ci-outpost.yml
vendored
5
.github/workflows/ci-outpost.yml
vendored
@@ -38,11 +38,6 @@ jobs:
|
|||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v8
|
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v8
|
||||||
with:
|
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
|
args: --timeout 5000s --verbose
|
||||||
skip-cache: true
|
skip-cache: true
|
||||||
test-unittest:
|
test-unittest:
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
|||||||
module goauthentik.io
|
module goauthentik.io
|
||||||
|
|
||||||
go 1.26.0
|
go 1.27.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
beryju.io/ldap v0.2.2
|
beryju.io/ldap v0.2.2
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
func GetTLSConfig() *tls.Config {
|
func GetTLSConfig() *tls.Config {
|
||||||
// Based on
|
// 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{
|
tlsConfig := &tls.Config{
|
||||||
MinVersion: tls.VersionTLS12,
|
MinVersion: tls.VersionTLS12,
|
||||||
CurvePreferences: []tls.CurveID{
|
CurvePreferences: []tls.CurveID{
|
||||||
@@ -15,7 +15,6 @@ func GetTLSConfig() *tls.Config {
|
|||||||
tls.CurveP256,
|
tls.CurveP256,
|
||||||
tls.CurveP384,
|
tls.CurveP384,
|
||||||
},
|
},
|
||||||
PreferServerCipherSuites: true,
|
|
||||||
CipherSuites: []uint16{},
|
CipherSuites: []uint16{},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user