SIGN IN SIGN UP

ci: update golangci-lint to v2 (#1341)

* ci: update golangci-lint to v2

update method:
```
golangci-lint migrate
golangci-lint run --fix
```

and fix the last ones manually

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix tests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
P
Pascal Bourdier committed
001b70ac7dc1baed8372c4b4fb4eab6d259b3773
Parent: 89e308c
Committed by GitHub <noreply@github.com> on 12/14/2025, 11:14:46 PM