Migrate golangci-lint from v1 to v2 in our CI

The v1 branch of golangci-lint that we use seems to no longer be maintained. The v2 changed config format.

This issue tracks updating golanglint-ci.

Documentation: https://golangci-lint.run/product/migration-guide/

Edited by Pawel Rozlach