Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support minimum_zig_version in build.zig.zon #16

Open
alexrp opened this issue Sep 28, 2024 · 0 comments
Open

Support minimum_zig_version in build.zig.zon #16

alexrp opened this issue Sep 28, 2024 · 0 comments

Comments

@alexrp
Copy link

alexrp commented Sep 28, 2024

It would be nice if there was a way to get the action to use minimum_zig_version from build.zig.zon.

Because I strongly favor predictable and reproducible behavior by default in CI scripts, I would argue that, if version is not given and a build.zig.zon with this field is present, the action should use it by default (this is how setup-dotnet works, for example).

If using minimum_zig_version as a default is not desirable for some reason, then an explicit gesture to opt in would be the next-best thing, e.g. version: build.zig.zon or something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant