Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: use --root-dir for lychee instead of version pin (#341)

Maximilian Roos38b690940a0b
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 7f2dc85bd..ee452655c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -24,8 +24,6 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: lychee
- # Pin to 0.20.x - 0.22.0 has a regression with exclude patterns for root-relative paths
- version: ^0.20
- name: 🔍 Pre-commit hooks
uses: pre-commit/[email protected]
@@ -91,8 +89,6 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: lychee
- # Pin to 0.20.x - 0.22.0 has a regression with exclude patterns for root-relative paths
- version: ^0.20
- name: Install wt
uses: baptiste0928/cargo-install@v3
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 751b50aaf..f3d53395b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -34,8 +34,8 @@ repos:
types: [markdown]
args:
- --config=.config/lychee.toml
- # Suppress warnings about root-relative paths (e.g., /assets/wt-demo.gif)
- # These are valid web paths validated by zola, not lychee
+ # Root dir for resolving absolute paths like /assets/...
+ - --root-dir=docs/static
- -q
- repo: local
hooks: