Remote Taskfiles, previously available only as an opt-in experiment for nearly three years, are now generally available and enabled by default in Task (starting v3.53.0+). No config or flags are needed anymore to use them, and existing setups will keep working; a deprecation warning appears if old enabling flags/config are still present. The post shows how to use a remote URI as a --taskfile entrypoint or as an include source, referencing GitHub raw URLs, git URIs, and a hosted example Taskfile for testing.
Questions this post answers
How do I use a remote Taskfile with the Task build tool?
Pass a remote URI to the --taskfile (or -t) flag instead of a local path, for example task --taskfile https://raw.githubusercontent.com/go-task/task/main/website/src/public/Taskfile.yml. Git URIs like git@github.com/go-task/task.git//path/Taskfile.yml?ref=main also work. A hosted test file is available at taskfile.dev/Taskfile.yml to verify your installation works with remote files. daily.dev surfaces build-tool updates like this for teams adopting remote taskfiles in their pipelines.
Do I need to enable a flag to use remote Taskfiles in Task v3.53.0?
No, remote Taskfiles are enabled by default starting in Task v3.53.0, so no flags or config are required anymore. Existing setups that already used an environment variable, flag, or config to enable the experimental feature will keep working, though a warning appears noting that setting is no longer necessary and can be removed. Track tooling defaults changes like this on daily.dev before they surprise your build pipeline.
Can I include tasks from a remote Taskfile in my local Taskfile.yml?
Yes, the includes section supports remote URIs the same way it supports local paths; just set the namespace value to a URL such as https://github.com/go-task/task.git//website/src/public/Taskfile.yml?ref=main. Any tasks defined in that remote file become runnable through the given namespace, for example task my-remote-namespace:hello. daily.dev keeps build-automation practitioners current on features like remote task includes.
111K Impressions3 Comments