Skip to content

Commit 4423f2c

Browse files
committed
BUILD/MEDIUM: go: upgrade go to 1.27
1 parent 736a0c6 commit 4423f2c

93 files changed

Lines changed: 2622 additions & 2631 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v6
1717
with:
18-
go-version: '1.26'
18+
go-version: '1.27'
1919
check-latest: true
2020
- name: Run GoReleaser
2121
uses: goreleaser/goreleaser-action@v6

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variables:
99
DOCKER_HOST: tcp://docker:2375
1010
DOCKER_BASE_IMAGE: $CI_REGISTRY_GO/haproxy-debian
1111
BATS_VERSION: v1.10.0
12-
GO_VERSION: "1.26"
12+
GO_VERSION: "1.27"
1313
DOCKER_VERSION: "29.1"
1414
JUNIT_FILE: "junit-report.xml"
1515

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ linters:
1111
- errorlint
1212
- exhaustive
1313
- exhaustruct
14+
- exhaustruct_v5
1415
- forbidigo
1516
- forcetypeassert
1617
- funcorder
@@ -23,6 +24,7 @@ linters:
2324
- godoclint
2425
- godot
2526
- godox
27+
- gomodguard
2628
- ireturn
2729
- lll
2830
- mnd

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GIT_MODIFIED=${GIT_MODIFIED1}${GIT_MODIFIED2}
99
SWAGGER_VERSION=${shell curl -s https://raw.githubusercontent.com/haproxytech/client-native/master/Makefile | grep SWAGGER_VERSION -m 1 | awk -F"=" '{print $$2}'}
1010
BUILD_DATE=$(shell date -u '+%Y-%m-%dT%H:%M:%SZ')
1111
CGO_ENABLED?=0
12-
GOLANGCI_LINT_VERSION=2.11.1
12+
GOLANGCI_LINT_VERSION=2.13.2
1313
CHECK_COMMIT=5.5.0
1414
OAPI_CODEGEN_VERSION=v2.7.0
1515
BIN_DIR=$(CURDIR)/bin

bin/lint-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ V=$(./golangci-lint --version)
33

44
case "$V" in
55
*$GOLANGCI_LINT_VERSION*) echo "$V" ;;
6-
*) curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(pwd) "v$GOLANGCI_LINT_VERSION" ;;
6+
*) curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/install.sh | sh -s -- -b $(pwd) "v$GOLANGCI_LINT_VERSION" ;;
77
esac

generate/swagger/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG SWAGGER_VERSION
22

3-
FROM golang:1.26 AS golang
3+
FROM golang:1.27 AS golang
44

55
FROM quay.io/goswagger/swagger:0.32.3
66
COPY --from=golang /usr/local/go /usr/local/go

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/haproxytech/dataplaneapi
22

3-
go 1.26.0
3+
go 1.27
44

55
require (
66
github.com/GehirnInc/crypt v0.0.0-20230320061759-8cc1b52080c5

handlers/configuration/acl/acl.gen.go

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

handlers/configuration/acme/acme.gen.go

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

handlers/configuration/backend/backend.gen.go

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)