Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
gdzig-zlint(ZLint 0.10.0 with the gdzigCODE_STYLErules) and wires itinto mise and CI. Follow-up to gdzig/gdzig#290.
github:gdzig/gdzig-zlint0.6.1 throughmise.toml.zlint.jsonunchanged from the 0.6.1 template. The gdzig-specific rulesare
warnin this template;homeless-tryiserror.mise run lintand a Lint workflow for pushes tomainand PRs.build.zig. No other source changes.Verification
gdzig-zlint .: 0 errors, 1 warning (before: 0 errors, 2 warnings).mise run lint: succeeds with the same remaining warning.zig build: fails on both this branch andmainbefore compilation:build.zig.zoncontains the pre-existing invalid package fingerprint0xdeadbeef. Zig's suggested replacement fingerprint varies with the sourcestate. The package manifest was left untouched because this is a lint-only PR.
zig fmt --check build.zig: passes. Before changes,zig fmt --check .flaggedbuild.zig.gdzig-public-docsfor the template's publicbuildentrypoint. Left in place rather than adding boilerplate documentation to the
minimal example solely to silence a warning.
Notes
--deny-warningsis intentionally not enabled while the public-docs warningremains.