File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -12,24 +12,16 @@ jobs:
1212
1313 steps :
1414 - name : Checkout code
15- uses : actions/checkout@v4
15+ uses : actions/checkout@v5
1616
17- - name : Set up Python 3.12
18- uses : actions/setup-python@v4
19- with :
20- python-version : 3.12
21-
22- - name : Install uv (fast Python package installer)
23- run : |
24- curl -LsSf https://astral.sh/uv/install.sh | sh
25- export PATH="$HOME/.local/bin:$PATH"
26- echo "$PATH" >> $GITHUB_ENV
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v7
2719
20+ - name : Set up Python
21+ run : uv python install
22+
2823 - name : Install dependencies with uv
29- run : |
30- # Install project dependencies (from pyproject.toml)
31- uv sync
24+ run : uv sync --locked --all-extras --dev
3225
3326 - name : Run tests with uv
34- run : |
35- uv run pytest
27+ run : uv run pytest
You can’t perform that action at this time.
0 commit comments