Skip to content

doc: document how to install and use Task in a Go module as a tool #2783

@dolmen

Description

@dolmen

Description

As Task is written in Go, it can be installed in a Go module as a tool since Go 1.24:

$ go get github.com/go-task/task/v3/cmd/task@latest

Then that specific version locked in the go.mod can be called via go tool task:

$ go tool task --list

In the installation manual this specific install method for Go module should be documented. In particular, this should be the privileged way to install and use Task in CI for Go projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsChanges related to documentation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions