Closed AnomalRoil closed 2 months ago
Hello,
Your logs are from this workflow and not this workflow.
There are 2 different versions of golangci-lint used inside the project, which lead to CI failure.
https://github.com/gopasspw/gopass/blob/b8f0ff8ff2570963b534d70961919d638c6a763b/Makefile#L136
FYI: there are a few months, I already contributed to gopass
to update the version: https://github.com/gopasspw/gopass/pull/2841
Ahahah, sorry for that, our bad.
Welcome
Description of the problem
When using this github action to lint
gopass
, we regularly have our CI failing because it seems our Gtihub Actions are using the latest release of golangci-lint instead of using the one we specified in our Github Action workflow.As a proof: https://github.com/gopasspw/gopass/actions/runs/10965254716/job/30450642427?pr=2946#step:11:649 complains that
But our Github Action is supposed to be using golangci-lint
v1.59.1
: https://github.com/gopasspw/gopass/blob/1eb3850c42d58cb142ee8434d7e00bf93703f730/.github/workflows/golangci-lint.yml#L43-L46 as per https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#versionThis is not new, it's been affecting us for month but we usually just bump our linter version when it does affect us. This time I figured I should maybe report it.
Workaround
Update linter to latest and fix new issues.
Version of golangci-lint
v1.61.0
Version of the GitHub Action
v6.1.0
Workflow file
Golangci-lint configuration
Go version
1.22
Code example or link to a public repository