Skip to content

Commit 49952e4

Browse files
committed
ci: update golangci-lint to v2.6.1, add renovate comment
Signed-off-by: Robin Hahling <[email protected]>
1 parent b1637b7 commit 49952e4

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
- name: Run static checks
2929
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
3030
with:
31-
version: v2.4.0
31+
# renovate: datasource=github-releases depName=golangci/golangci-lint
32+
version: v2.6.1
3233
args: --config=.golangci.yml --verbose
3334
skip-cache: true
3435
- name: Check module tidiness
@@ -57,7 +58,8 @@ jobs:
5758
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
5859
with:
5960
working-directory: ./cmd
60-
version: v2.4.0
61+
# renovate: datasource=github-releases depName=golangci/golangci-lint
62+
version: v2.6.1
6163
args: --config=../.golangci.yml --verbose
6264
skip-cache: true
6365
- name: Check module tidiness
@@ -88,7 +90,8 @@ jobs:
8890
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
8991
with:
9092
working-directory: ./flow
91-
version: v2.4.0
93+
# renovate: datasource=github-releases depName=golangci/golangci-lint
94+
version: v2.6.1
9295
args: --config=../.golangci.yml --verbose
9396
skip-cache: true
9497
- name: Check module tidiness

Makefile.defs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ INSTALL = $(QUIET)install
77
BINDIR ?= /usr/local/bin
88
TARGET := fake
99

10-
GOLANGCILINT_WANT_VERSION = 2.0.1
10+
# renovate: datasource=github-releases depName=golangci/golangci-lint
11+
GOLANGCILINT_WANT_VERSION = 2.6.1
1112
GOLANGCILINT_VERSION = $(shell golangci-lint version --short 2>/dev/null)

flow/protocol.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,15 @@ func WithLayer4TCP() Layer4Option {
6767

6868
// WithLayer4TCPSourcePort specifies the TCP source port for Layer4. Only
6969
// useful in conjunction with WithLayer4TCP.
70+
//
7071
// Deprecated: use WithLayer4SourcePort instead.
7172
func WithLayer4TCPSourcePort(port uint32) Layer4Option {
7273
return WithLayer4SourcePort(port)
7374
}
7475

7576
// WithLayer4TCPDestinationPort specifies the TCP destination port for Layer4.
7677
// Only useful in conjunction with WithLayer4TCP.
78+
//
7779
// Deprecated: use WithLayer4DestinationPort instead.
7880
func WithLayer4TCPDestinationPort(port uint32) Layer4Option {
7981
return WithLayer4DestinationPort(port)
@@ -106,13 +108,15 @@ func WithLayer4UDP() Layer4Option {
106108

107109
// WithLayer4UDPSourcePort specifies the UDP source port. Only useful in
108110
// conjunction with WithLayer4UDP.
111+
//
109112
// Deprecated: use WithLayer4SourcePort instead.
110113
func WithLayer4UDPSourcePort(port uint32) Layer4Option {
111114
return WithLayer4SourcePort(port)
112115
}
113116

114117
// WithLayer4UDPDestinationPort specifies the UDP destination port. Only useful
115118
// in conjunction with WithLayer4UDP.
119+
//
116120
// Deprecated: use WithLayer4DestinationPort instead.
117121
func WithLayer4UDPDestinationPort(port uint32) Layer4Option {
118122
return WithLayer4DestinationPort(port)

0 commit comments

Comments
 (0)