Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/variables/go-versions.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
latest=1.26.6
penultimate=1.25.13
latest=1.27.0
Comment thread
cursor[bot] marked this conversation as resolved.
penultimate=1.26.7
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This is a standalone Dockerfile that does not depend on goreleaser building the binary
# It is NOT the version that is pushed to dockerhub
FROM golang:1.26.6-alpine3.24 as builder
FROM golang:1.27.0-alpine3.24 as builder
# See "Runtime platform versions" in CONTRIBUTING.md

RUN apk --no-cache add \
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOLANGCI_LINT_VERSION=v2.11.1
GOLANGCI_LINT_VERSION=v2.13.1

LINTER=./bin/golangci-lint
LINTER_VERSION_FILE=./bin/.golangci-lint-version-$(GOLANGCI_LINT_VERSION)
Expand Down Expand Up @@ -47,7 +47,7 @@ $(COVERAGE_PROFILE_RAW): $(ALL_SOURCES)

$(LINTER_VERSION_FILE):
rm -f $(LINTER)
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s $(GOLANGCI_LINT_VERSION)
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/$(GOLANGCI_LINT_VERSION)/install.sh | sh -s $(GOLANGCI_LINT_VERSION)
touch $(LINTER_VERSION_FILE)

lint: $(LINTER_VERSION_FILE)
Expand Down
2 changes: 1 addition & 1 deletion internal/application/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func StartHTTPServer(
}

if tlsEnabled && tlsMinVersion != 0 {
srv.TLSConfig = &tls.Config{ //nolint:gosec // linter doesn't want to see MinVersion being set to a variable
srv.TLSConfig = &tls.Config{
MinVersion: tlsMinVersion,
}
}
Expand Down
2 changes: 1 addition & 1 deletion internal/autoconfigcache/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func cacheField(kind autoconfig.CacheKind, id string) string {
// mergeContext returns a context that is cancelled when either ctx or storeCtx is cancelled,
// along with a cleanup function that must be called when the operation completes.
func mergeContext(ctx, storeCtx context.Context) (context.Context, context.CancelFunc) {
merged, cancel := context.WithCancel(ctx) //nolint:gosec // cancellation function is returned to caller, not used in this function
merged, cancel := context.WithCancel(ctx)
stop := context.AfterFunc(storeCtx, func() {
cancel()
})
Expand Down
Loading