File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,23 +18,21 @@ jobs:
1818 steps :
1919 - uses : actions/checkout@v4
2020
21- - name : Install uv
22- uses : astral-sh/setup-uv@v4
21+ - name : Install Nix
22+ uses : cachix/install-nix-action@v31
2323 with :
24- version : " latest "
24+ nix_path : nixpkgs=channel:nixos-unstable
2525
26- - name : Set up Python
27- uses : actions/setup-python@v5
28- with :
29- python-version : " 3.11"
26+ - name : Setup Nix development environment
27+ uses : nicknovitski/nix-develop@v1
3028
31- - name : Install dependencies
29+ - name : Install Python dependencies
3230 run : uv sync --extra dev
3331
3432 - name : Check formatting (ruff)
3533 run : |
36- uv run ruff format --check src/ tests/
37- uv run ruff check src/ tests/
34+ ruff format --check src/ tests/
35+ ruff check src/ tests/
3836
3937 - name : Run tests
40- run : uv run pytest tests/ -v
38+ run : pytest tests/ -v
You can’t perform that action at this time.
0 commit comments