govulncheck-action: Warning: Both go-version and go-version-file inputs are specified, only go-version will be used while only 'go-version-file: go.mod' is specified #70036
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
vulncheck or vulndb
Issues for the x/vuln or x/vulndb repo
Milestone
govulncheck version
golang/govulncheck-action@v1.0.4
Does this issue reproduce at the latest version of golang.org/x/vuln?
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
Warning: Both go-version and go-version-file inputs are specified, only go-version will be used
What did you expect to see?
No warning as
go-version-file: go.mod
has been defined. If this is the case, then the code should omit go-version and only use the version that is defined in the go.mod file. Now it is using another Golang version, while another version is defined in the go.mod file.The text was updated successfully, but these errors were encountered: