The go-version-file input to the Go builder passes the value to setup-go but since the project is checked out to a different directory than the GITHUB_WORKSPACE setup-go will fail to find the file.
The path given to setup-go needs to be joined with inputs.path where the project is checked out in secure-project-checkout.
|
go-version-file: ${{ inputs.go-version-file }} |
The
go-version-fileinput to the Go builder passes the value tosetup-gobut since the project is checked out to a different directory than theGITHUB_WORKSPACEsetup-gowill fail to find the file.The path given to
setup-goneeds to be joined withinputs.pathwhere the project is checked out insecure-project-checkout.slsa-github-generator/.github/actions/secure-project-checkout-go/action.yml
Line 62 in 7e31fad