A Github Action that executes a minimal.toml-defined task on a Linux runner.
- Runs on any Linux runner that supports unprivileged user namespaces.
- Supports both x86_64 and arm64 architectures.
- Selectable release channel
The following example steps run the hello-world task on the Github runner, using a version
of Minimal fetched from the unstable channel.
- uses: actions/checkout@v7 # Checkout the repo to access its `minimal.toml`
- name: Run hello-world task
uses: gominimal/run-task@v1
with:
channel: unstable
task: hello-worldtask(required): Name of the task to runchannel: Release channel to fetch Minimal from; the channel is resolved to an exact version at run time. Defaults tostable.
version: Exact version string of Minimal which was used
We expect most distributions with modern (2024+) kernels to be able to run Minimal.
- Ubuntu:
ubuntu-slim,ubuntu-latest,ubuntu-26.04,ubuntu-24.04,ubuntu-26.04-arm,ubuntu-24.04-arm
-
Ubuntu: Version 24 or greater. Unprivileged user namespaces must be enabled.
If unprivileged user namespaces are not enabled, the Github action will attempt to enable them using passwordless
sudo. For runners which are not permitted to use sudo, you will need to set the appropriate sysctl yourself:sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
-
Debian: Bullseye (v11), Bookworm (v12), Trixie (v13) or greater.