Skip to content

Commit 54250b7

Browse files
committed
fix: use uv/uvx instead of pip for Python tooling
Always use uv ecosystem: uvx for ruff, uv pip for pyyaml. Add setup-uv step to ensure availability. Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
1 parent 61f3b22 commit 54250b7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "skill-repo",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"description": "Guide for structuring Netresearch skill repositories",
55
"repository": "https://github.com/netresearch/skill-repo-skill",
66
"license": "MIT",

.github/workflows/validate.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
sparse-checkout: skills/skill-repo/scripts/
2828
sparse-checkout-cone-mode: false
2929

30+
- name: Set up uv
31+
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
32+
3033
- name: Run skill validation
3134
run: bash .skill-repo-tools/skills/skill-repo/scripts/validate-skill.sh .
3235

@@ -87,11 +90,10 @@ jobs:
8790
fi
8891
COUNT=$(echo "$PYFILES" | wc -l)
8992
echo "Found $COUNT Python file(s)"
90-
pip install ruff -q
9193
echo "=== ruff check ==="
92-
ruff check .
94+
uvx ruff check .
9395
echo "=== ruff format ==="
94-
ruff format --check .
96+
uvx ruff format --check .
9597
9698
- name: Validate checkpoint schemas
9799
run: |
@@ -103,7 +105,7 @@ jobs:
103105
fi
104106
COUNT=$(echo "$CHECKPOINT_FILES" | wc -l)
105107
echo "Found $COUNT checkpoint file(s)"
106-
pip install pyyaml -q
108+
uv pip install --system pyyaml -q
107109
FAILED=0
108110
while IFS= read -r f; do
109111
[[ -z "$f" ]] && continue

0 commit comments

Comments
 (0)