Skip to content

Commit e7d5cdc

Browse files
committed
Fix lint
1 parent 1f40c93 commit e7d5cdc

File tree

12 files changed

+27
-27
lines changed

12 files changed

+27
-27
lines changed

.github/workflows/golang-test-darwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.23.x"
21+
go-version: "1.24.x"
2222
cache: false
2323
- name: Checkout code
2424
uses: actions/checkout@v4

.github/workflows/golang-test-freebsd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
release: "14.2"
2626
prepare: |
2727
pkg install -y curl pkgconf xorg
28-
GO_TARBALL="go1.23.12.freebsd-amd64.tar.gz"
28+
GO_TARBALL="go1.24.4.freebsd-amd64.tar.gz"
2929
GO_URL="https://go.dev/dl/$GO_TARBALL"
3030
curl -vLO "$GO_URL"
3131
tar -C /usr/local -vxzf "$GO_TARBALL"

.github/workflows/golang-test-linux.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Go
3131
uses: actions/setup-go@v5
3232
with:
33-
go-version: "1.23.x"
33+
go-version: "1.24.x"
3434
cache: false
3535

3636
- name: Get Go environment
@@ -109,7 +109,7 @@ jobs:
109109
- name: Install Go
110110
uses: actions/setup-go@v5
111111
with:
112-
go-version: "1.23.x"
112+
go-version: "1.24.x"
113113
cache: false
114114

115115
- name: Checkout code
@@ -154,7 +154,7 @@ jobs:
154154
- name: Install Go
155155
uses: actions/setup-go@v5
156156
with:
157-
go-version: "1.23.x"
157+
go-version: "1.24.x"
158158
cache: false
159159

160160
- name: Checkout code
@@ -200,7 +200,7 @@ jobs:
200200
-e GOCACHE=${CONTAINER_GOCACHE} \
201201
-e GOMODCACHE=${CONTAINER_GOMODCACHE} \
202202
-e CONTAINER=${CONTAINER} \
203-
golang:1.23-alpine \
203+
golang:1.24-alpine \
204204
sh -c ' \
205205
apk update; apk add --no-cache \
206206
ca-certificates iptables ip6tables dbus dbus-dev libpcap-dev build-base; \
@@ -223,7 +223,7 @@ jobs:
223223
- name: Install Go
224224
uses: actions/setup-go@v5
225225
with:
226-
go-version: "1.23.x"
226+
go-version: "1.24.x"
227227
cache: false
228228

229229
- name: Checkout code
@@ -273,7 +273,7 @@ jobs:
273273
- name: Install Go
274274
uses: actions/setup-go@v5
275275
with:
276-
go-version: "1.23.x"
276+
go-version: "1.24.x"
277277
cache: false
278278

279279
- name: Checkout code
@@ -324,7 +324,7 @@ jobs:
324324
- name: Install Go
325325
uses: actions/setup-go@v5
326326
with:
327-
go-version: "1.23.x"
327+
go-version: "1.24.x"
328328
cache: false
329329

330330
- name: Checkout code
@@ -411,7 +411,7 @@ jobs:
411411
- name: Install Go
412412
uses: actions/setup-go@v5
413413
with:
414-
go-version: "1.23.x"
414+
go-version: "1.24.x"
415415
cache: false
416416

417417
- name: Checkout code
@@ -500,7 +500,7 @@ jobs:
500500
- name: Install Go
501501
uses: actions/setup-go@v5
502502
with:
503-
go-version: "1.23.x"
503+
go-version: "1.24.x"
504504
cache: false
505505

506506
- name: Checkout code
@@ -564,7 +564,7 @@ jobs:
564564
- name: Install Go
565565
uses: actions/setup-go@v5
566566
with:
567-
go-version: "1.23.x"
567+
go-version: "1.24.x"
568568
cache: false
569569

570570
- name: Checkout code

.github/workflows/golang-test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/setup-go@v5
2525
id: go
2626
with:
27-
go-version: "1.23.x"
27+
go-version: "1.24.x"
2828
cache: false
2929

3030
- name: Get Go environment

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install Go
4747
uses: actions/setup-go@v5
4848
with:
49-
go-version: "1.23.x"
49+
go-version: "1.24.x"
5050
cache: false
5151
- name: Install dependencies
5252
if: matrix.os == 'ubuntu-latest'

.github/workflows/mobile-build-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: "1.23.x"
23+
go-version: "1.24.x"
2424
- name: Setup Android SDK
2525
uses: android-actions/setup-android@v3
2626
with:
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install Go
5757
uses: actions/setup-go@v5
5858
with:
59-
go-version: "1.23.x"
59+
go-version: "1.24.x"
6060
- name: install gomobile
6161
run: go install golang.org/x/mobile/cmd/[email protected]
6262
- name: gomobile init

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Go
4141
uses: actions/setup-go@v5
4242
with:
43-
go-version: "1.23"
43+
go-version: "1.24"
4444
cache: false
4545
- name: Cache Go modules
4646
uses: actions/cache@v4
@@ -136,7 +136,7 @@ jobs:
136136
- name: Set up Go
137137
uses: actions/setup-go@v5
138138
with:
139-
go-version: "1.23"
139+
go-version: "1.24"
140140
cache: false
141141
- name: Cache Go modules
142142
uses: actions/cache@v4
@@ -200,7 +200,7 @@ jobs:
200200
- name: Set up Go
201201
uses: actions/setup-go@v5
202202
with:
203-
go-version: "1.23"
203+
go-version: "1.24"
204204
cache: false
205205
- name: Cache Go modules
206206
uses: actions/cache@v4

.github/workflows/test-infrastructure-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Install Go
7171
uses: actions/setup-go@v5
7272
with:
73-
go-version: "1.23.x"
73+
go-version: "1.24.x"
7474

7575
- name: Cache Go modules
7676
uses: actions/cache@v4

.github/workflows/wasm-build-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: "1.23.x"
23+
go-version: "1.24.x"
2424
- name: Install dependencies
2525
run: sudo apt update && sudo apt install -y -q libgtk-3-dev libayatana-appindicator3-dev libgl1-mesa-dev xorg-dev libpcap-dev
2626
- name: Install golangci-lint
@@ -45,7 +45,7 @@ jobs:
4545
- name: Install Go
4646
uses: actions/setup-go@v5
4747
with:
48-
go-version: "1.23.x"
48+
go-version: "1.24.x"
4949
- name: Build Wasm client
5050
run: GOOS=js GOARCH=wasm go build -o netbird.wasm ./client/wasm/cmd
5151
env:
@@ -60,8 +60,8 @@ jobs:
6060
6161
echo "Size: ${SIZE} bytes (${SIZE_MB} MB)"
6262
63-
if [ ${SIZE} -gt 52428800 ]; then
64-
echo "Wasm binary size (${SIZE_MB}MB) exceeds 50MB limit!"
63+
if [ ${SIZE} -gt 57671680 ]; then
64+
echo "Wasm binary size (${SIZE_MB}MB) exceeds 55MB limit!"
6565
exit 1
6666
fi
6767

client/internal/dns/upstream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (u *upstreamResolverBase) handleUpstreamError(err error, upstream netip.Add
197197
timeoutMsg += " " + peerInfo
198198
}
199199
timeoutMsg += fmt.Sprintf(" - error: %v", err)
200-
logger.Warnf(timeoutMsg)
200+
logger.Warn(timeoutMsg)
201201
}
202202

203203
func (u *upstreamResolverBase) writeSuccessResponse(w dns.ResponseWriter, rm *dns.Msg, upstream netip.AddrPort, domain string, t time.Duration, logger *log.Entry) bool {

0 commit comments

Comments
 (0)