Update tooling and fix build issues

- Migrate golangci-lint config to v2 format
- Update GitHub Actions: checkout v3→v4, Go 1.24→1.25
- Update golangci-lint-action v6→v9 with golangci-lint v2.8
- Fix dlnaplayer.go: use RequestHandler interface for go-upnpcast
- Fix go.mod replace directive version mismatch for fyne fork
This commit is contained in:
Gianluca Boiano
2026-01-26 22:30:12 +01:00
parent d681d87b31
commit c692fbf1ee
11 changed files with 118 additions and 103 deletions
+24 -12
View File
@@ -1,11 +1,10 @@
version: "2"
run:
go: "1.21"
go: "1.24"
issues-exit-code: 1
tests: true
timeout: 10m
timeout: 15m
linters:
enable:
- unused
disable:
- asasalint
- asciicheck
@@ -38,11 +37,24 @@ linters:
- testifylint
- unparam
- zerologlint
presets:
- bugs
- unused
fast: false
linters-settings:
gofmt:
simplify: true
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
settings:
gofmt:
simplify: true
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$