File tree Expand file tree Collapse file tree 2 files changed +21
-17
lines changed
Expand file tree Collapse file tree 2 files changed +21
-17
lines changed Original file line number Diff line number Diff line change 88 format :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ - uses : actions/checkout@v5
1212 with :
1313 ref : ${{ github.head_ref }}
14- 14+ - name : " Set up Python"
15+ uses : actions/setup-python@v6
1516 with :
16- python-version : ' ^3.11'
17- - uses : actions/cache@v4
17+ python-version-file : " pyproject.toml"
18+
19+ - name : Install uv
20+ uses : astral-sh/setup-uv@v6
1821 with :
19- path : |
20- ~/.cache/pypoetry
21- ~/.virtualenvs
22- key : ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
23- restore-keys : |
24- ${{ runner.os }}-poetry-
25- - name : Install Poetry
26- run : curl -sSL https://install.python-poetry.org | python3 -
22+ enable-cache : true
23+
2724 - name : Install dependencies
28- run : poetry install --only dev
25+ run : uv sync --only-dev
26+
2927 - name : Run formatting commands
3028 run : make format
3129 - name : Commit changes
Original file line number Diff line number Diff line change @@ -11,15 +11,21 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14+
1415 - name : Checkout code
15- uses : actions/checkout@v4
16+ uses : actions/checkout@v5
1617 with :
1718 submodules : recursive
1819
19- - name : Set up Python and Poetry
20- uses : abatilo/actions-poetry@v2
20+ - name : " Set up Python"
21+ uses : actions/setup-python@v6
22+ with :
23+ python-version-file : " pyproject.toml"
24+
25+ - name : Install uv
26+ uses : astral-sh/setup-uv@v6
2127 with :
22- poetry-version : " 1.8.2 "
28+ enable-cache : true
2329
2430 - name : Install system dependencies (GDAL)
2531 run : |
You can’t perform that action at this time.
0 commit comments