trezor / trezord-go

:smiling_imp: Trezor Communication Daemon (written in Go)
GNU Lesser General Public License v3.0
245 stars 148 forks source link

Fix failing CI by linting with golang v1.17 #256

Closed aloisklink closed 2 years ago

aloisklink commented 2 years ago

The golangci-lint job is failing on GitLab CI, see https://gitlab.com/satoshilabs/trezor/trezord-go/-/commit/ec928e6456bfa60c9a298ae78613f723db256900/pipelines?ref=master

This is because only v1.45.1 of golangci-lint supports golang v1.18.0, see https://github.com/golangci/golangci-lint-action/issues/434#issuecomment-1086127909

It's also possible to fix this bug by updating the golangci-lint, but that causes a bunch of warnings and errors, so it's probably easier to just keep the golang version at v1.17.