Latest version used in Github Action despite version
being set in workflow
#1106
Closed
3 tasks done
Labels
question
Further information is requested
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#version
This 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
<add your file content here>
Golangci-lint configuration
Go version
1.22
Code example or link to a public repository
Link to repo: https://github.com/gopasspw/gopass
The text was updated successfully, but these errors were encountered: