We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c238924 commit 5111bc1Copy full SHA for 5111bc1
.github/workflows/run-ruff.yml
@@ -15,14 +15,17 @@ jobs:
15
- name: Install uv
16
uses: astral-sh/setup-uv@v5
17
18
+ - name: Install dependencies
19
+ run: uv sync
20
+
21
- name: Check static error
22
run: |
- uv tool run ruff@0.8.0 check --show-fixes --output-format=github
23
+ uv run ruff check --show-fixes --output-format=github
24
25
- name: Reformat code style
26
27
echo '## Reformat summary' >> $GITHUB_STEP_SUMMARY
- if diff_output="$(uv tool run ruff@0.8.0 format --diff 2>&1)"; then
28
+ if diff_output="$(uv run ruff format --diff 2>&1)"; then
29
echo "$diff_output"
30
echo '✅ Format check passed.' >> "$GITHUB_STEP_SUMMARY"
31
else
0 commit comments