You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): migrate .trunk/trunk.yaml to the 0.1 schema
Trunk Check has been failing on every PR with config-error findings:
the legacy pre-0.1 schema keys (linters/formatters/actions/cache/env)
are unrecognized by the pinned CLI 1.22.2. Migrate to the modern
schema, preserving the repo's linting intent:
- version: 0.1, cli.version: 1.22.2, plugin source uri added
- lint.definitions: repo-specific command overrides (black line length
100 for lint+format, clippy --all-targets --all-features -D warnings)
merged over the trunk plugin definitions
- lint.enabled: same 12 tools as before (plugin defaults otherwise)
- lint.ignore: scope prettier/yamllint off .github/workflows/** - those
files are covered by actionlint; prettier re-indents `on:`-keyed
workflow files with a nonstandard style and yamllint's 80-column
default flags long action refs
- actions.enabled: trunk-check-pre-push (modern successor of the old
trunk-check action)
Also fix the issues the freshly-running tools surfaced on this branch's
diff:
- actionlint: drop invalid `deployment` key under `environment` and
quote the `--build_metadata=COMMIT_SHA=$(git rev-parse HEAD)` array
element (SC2207) in v8-canary.yml and rusty-v8-release.yml
- taplo: add .taplo.toml declaring the repo's 4-space array indent and
expand the tonic features array to match taplo's output
- add .trunk/.gitignore for trunk's local runtime state (canonical set
from trunk-io/plugins)
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
0 commit comments