Upgrade golangci-lint to latest version

When we use the registry.gitlab.com/gitlab-org/gitlab-build-images:golangci-lint-alpine for the linter task, we got some error related to using go 1.18 but when we use the latest version of golangci-lint (v1.46.2) the error is gone.
also, some depreciation warning related to golint depreciation