Skip to content

[bug] The specified go version file at: go.mod does not exist #2661

@ianlewis

Description

@ianlewis

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 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:goIssue related to the Go ecosystemtype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions