Feature request: Support installation of ziglang
My understanding of this action is that it does not do extra installs that might be required to make a tool work. e.g. installing
cargo-valgrinddoes not also installvalgrind; installingxbuilddoes not also installadband other bits of llvm not present on the github runner.It is up to the user of this action to install dependencies that are missing, and that way they can choose the version they want of those dependencies.
I would support adding an extra tool called "ziglang", which would be a special case also like "valgrind". We could support installing different versions from https://pypi.org/project/ziglang/#history - that looks like a reasonable approach, but Python wheels are a messy format for this given that
zigis a single binary, and pip is slow. Importing the binary URLs from https://ziglang.org/download/index.json would be more in tune with the way this action works, allowing runtime verification of the checksums.
Originally posted by @jayvdb in https://github.com/taiki-e/install-action/issues/508#issuecomment-2150934054
mise can install zig
https://mise.jdx.dev/lang/zig.html#zig
In my CI I was able to get zig installed using
mise settings add idiomatic_version_file_enable_tools "[]"
mise use --global zig
echo "$HOME/.local/share/mise/shims" >> "$GITHUB_PATH"
echo "Added $HOME/.local/share/mise/shims to PATH"