-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] The specified go version file at: go.mod does not exist #2661
Comments
@raghavkaul is this the problem you encountered on scorecard a couple weeks back? Let's create e2e test for this one, if we don't have one already. I can squeeze this fix in the next release (this week) |
blocked on #2682 closes #2661 --------- Signed-off-by: laurentsimon <[email protected]> Signed-off-by: laurentsimon <[email protected]> Co-authored-by: Ian Lewis <[email protected]>
I still encounter this bug with uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
go-version-file: go.mod |
Seems that the fixing code is not contained in |
Yes, this still hasn't been released :( |
We plan to release very soon. /cc @ramonpetgrave64 We have one or two more issues to address |
The
go-version-file
input to the Go builder passes the value tosetup-go
but since the project is checked out to a different directory than theGITHUB_WORKSPACE
setup-go
will fail to find the file.The path given to
setup-go
needs to be joined withinputs.path
where the project is checked out insecure-project-checkout
.slsa-github-generator/.github/actions/secure-project-checkout-go/action.yml
Line 62 in 7e31fad
The text was updated successfully, but these errors were encountered: