Skip to content

Commit

Permalink
FIX: test if style group exists (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Oct 28, 2024
1 parent b5a1944 commit 52845eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
enable-cache: true
- name: Determine if repository is Python package
run: |
uv_command=$(uv pip install -e '.[sty]' > /dev/null && echo "uv run --group style" || echo uvx)
uv_command=$(uv pip install -e '.[sty]' > /dev/null && uv sync --group style && echo "uv run --group style" || echo uvx)
echo "UV_COMMAND=$uv_command" | tee -a "$GITHUB_ENV"
- name: Fetch pre-commit cache
uses: actions/cache@v4
Expand Down

0 comments on commit 52845eb

Please sign in to comment.