Repository navigation
fix(setup): switch taplo pre-commit from source compilation to system binary - #229
Merged
Merged
Conversation
… binary - Add taplo to requirements.yaml with brew (macOS) and GitHub release (Linux) - Replace ComPWA/taplo-pre-commit with local language:system hooks - Add taplo binary install to Containerfile (like hadolint pattern) Refs: #226
The release asset naming changed in newer taplo versions:
taplo-full-{triple}.gz -> taplo-linux-{arch}.gz
Refs: #226
The taplo pre-commit hooks now use language:system and need the binary installed in CI, same as hadolint. Refs: #226
c-vigo
force-pushed
the
bugfix/226-taplo-system-binary
branch
from
March 7, 2026 06:36
8b4eefd to
33ae417
Compare
Contributor
|
Force-push notice: Rebased to drop commit The 3 taplo-related commits are unchanged in content, just rebased onto a new base (new SHAs). No functional changes. |
c-vigo
approved these changes
Mar 7, 2026
c-vigo
enabled auto-merge
March 7, 2026 06:47
12 of 22 tasks
c-vigo
added a commit
that referenced
this pull request
Mar 9, 2026
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
Switch taplo pre-commit hooks from
language: rust(cargo compile from source) tolanguage: systemusing a pre-installed binary — same pattern used for hadolint. This unblocks the image build which was failing due to taplo Rust compilation issues.What changed
.pre-commit-config.yaml,assets/workspace/.pre-commit-config.yaml): replaceComPWA/taplo-pre-commitrepo with locallanguage: systemhooks for bothtaplo-formatandtaplo-lintinstall-taploinput and installation step; enable it intest-projectactionscripts/requirements.yaml: add taplo entry with brew (macOS) and GitHub release binary (Linux) install methodsCONTRIBUTE.md: document taplo as a host dependency with installation instructionstest_taplo_installedandtest_taplo_versionto image test suite## [0.7.0]Fixed sectionTest plan
just initinstalls taplo on hostjust buildsucceeds with taplo available in imagesetup-envactionRefs: #226