chore: fix ruff import formatting #7
Workflow file for this run
This file contains 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: 'Specklepy test and build' | |
on: | |
pull_request: | |
branches: | |
- 'v3-dev' | |
push: | |
branches: | |
- 'gergo/uvSetup' | |
jobs: | |
build: | |
name: continuous-integration | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv and set the python version | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
enable-cache: true | |
cache-dependency-glob: 'uv.lock' | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: Run pre-commit | |
run: uv run pre-commit run --all-files | |
# do some more stuff here | |
- name: Minimize uv cache | |
run: uv cache prune --ci |