File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -11,22 +11,17 @@ jobs:
1111
1212 steps :
1313 - uses : actions/checkout@v4
14- - name : Install UV
15- uses : astral-sh/setup-uv@v4
16- with :
17- version : " latest"
18- - name : Set up Python ${{ matrix.python-version }}
19- uses : actions/setup-python@v5
14+ - name : Install uv and set Python version
15+ uses : astral-sh/setup-uv@v7
2016 with :
2117 python-version : ${{ matrix.python-version }}
22- - name : Install dependencies
23- run : |
24- uv sync --dev
18+ enable-cache : true
19+ - name : Install project dependencies
20+ run : uv sync --dev
2521 - name : Lint with flake8
2622 run : |
2723 uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2824 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
2925 uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3026 - name : Test with pytest
31- run : |
32- uv run pytest
27+ run : uv run pytest
You can’t perform that action at this time.
0 commit comments