v3 action uses --out-format flag which v2.1.6 doesn't support. Upgrade to v4 action which should properly support golangci-lint v2. This should resolve the 'unknown flag: --out-format' error.
v3 action uses --out-format flag which v2.1.6 doesn't support. Upgrade to v4 action which should properly support golangci-lint v2. This should resolve the 'unknown flag: --out-format' error.