Skip to content

Commit 0b86636

Browse files
fix(ci): pin trunk linter versions in lint.enabled
Unpinned `lint.enabled` entries resolve to the SYSTEM copy of a tool (trunk logs `@ version:SYSTEM` and never downloads it), so every trunk-managed tool failed with "Binary not found" on the runner. Pin each tool to the version it is validated with on this repo: - actionlint 1.7.8, black 25.9.0, prettier 3.6.2, ruff 0.16.2, mypy 2.1.0, taplo 0.10.0, shellcheck 0.10.0, yamllint 1.37.1, eslint 8.10.0, golangci-lint 2.6.1 - clippy/rustfmt 1.88.0 (rust toolchain; repo's rust-toolchain.toml pins channel = "stable", edition 2024 requires >= 1.85) Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent a0f54ba commit 0b86636

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

.trunk/trunk.yaml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,22 @@ lint:
5151
success_codes: [0, 101, 383]
5252
disable_upstream: true
5353

54-
# Enabled tools (plugin defaults unless overridden above).
54+
# Enabled tools (plugin defaults unless overridden above). Versions are
55+
# pinned explicitly: an unpinned entry resolves to the SYSTEM copy of the
56+
# tool instead of a trunk-managed install.
5557
enabled:
56-
- actionlint
57-
- black
58-
- clippy
59-
- eslint
60-
- golangci-lint
61-
- mypy
62-
- prettier
63-
- ruff
64-
- rustfmt
65-
- shellcheck
66-
- taplo
67-
- yamllint
58+
- actionlint@1.7.8
59+
- black@25.9.0
60+
- clippy@1.88.0
61+
- eslint@8.10.0
62+
- golangci-lint@2.6.1
63+
- mypy@2.1.0
64+
- prettier@3.6.2
65+
- ruff@0.16.2
66+
- rustfmt@1.88.0
67+
- shellcheck@0.10.0
68+
- taplo@0.10.0
69+
- yamllint@1.37.1
6870

6971
# GitHub workflow files are covered by actionlint (syntax + shellcheck).
7072
# prettier's YAML printer re-indents `on:`-keyed workflow files with a

0 commit comments

Comments
 (0)