Tangled spindle backed by crowci

actions: reusable workflows #5

Open botless.tngl.sh
targeting dhcpcd-docker from reusable-workflows
Open opened by botless.tngl.sh
targeting dhcpcd-docker from reusable-workflows

Stacked on #4.

spindle-act now runs reusable workflows (jobs.<id>.uses). The caller job expands into the called workflow's jobs as its children, ported from Gitea's reusable workflow support. Inputs, secrets (inherit or mapped), and outputs pass through. Called files are read from the caller's own repo (./…), from tangled (handle/repo/path@ref), or from GitHub.

The runner also gets an ubuntu-22.04 label, and the official node binary is mounted into job containers, as GitHub does. Without it, JavaScript actions fail in a container: image that has no node.

Checked against zmk's build-user-config.yml: the firmware builds. Its upload-artifact step still fails, because artifacts are unsupported.

Commits 3

nix: mount node into job containers
nix: an ubuntu-22.04 runner label
actions: reusable workflows
Sign up or Sign in to add to the discussion.