Skip to content

Automatically detect runtimes to install based on files in the repository #16615

@strawgate

Description

@strawgate

Current behavior: runtime (go, python, uv) setup is driven by runtimes: and/or detection; steps run whenever that runtime is selected. Detection is done by parsing the custom steps for commands to create runtimes from.

In my use-case im centrally defining workflows that are workflow_call-ed. In this case a user can't provide the runtime keys they need nor can they provide steps that can be detected at compile time.

It would be nice if runtimes could contain an if conditional that could default (or at least be used) to detecting the presence of certain well known files like install the go runtime if go.mod exists, install the uv runtime if uv.lock exists, etc.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions