fix: fix when ciel is never used before #1164
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run pre-commit hooks | |
| on: [push, pull_request] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install the project | |
| run: | | |
| echo "UV_SYSTEM_PYTHON=1" >> $GITHUB_ENV | |
| uv sync --locked --all-extras --dev | |
| - name: run pre-commit | |
| run: | | |
| uv run pre-commit install | |
| SKIP=no-commit-to-branch uv run pre-commit run --show-diff-on-failure --color=always --all-files |