Is it posible to configure Go Task runner to use fileextension yaml?

182 Views Asked by At

Is there a posibility to configure Go Task runner (https://taskfile.dev/) to use files with file extension "yaml" instead of "yml"?

1

There are 1 best solutions below

3
Andrey Nering On BEST ANSWER

Task author here.

The only way to do it currently is by running:

task --taskfile=Taskfile.yaml

or

task -t Taskfile.yaml

That said, there's an open issue and a open PR about making .yaml extensions work automatically, so that will eventually work without the flag.