File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 44 using : composite
55
66 steps :
7- - name : Load cached poetry installation
8- id : cached-poetry
9- uses : actions/cache@v4
7+ - name : Install uv
8+ uses : astral-sh/setup-uv@v6
109 with :
11- path : ~/.local
12- key : poetry-v2-${{ hashFiles('pyproject.toml') }}
10+ enable-cache : true
1311
14- - name : Install poetry
15- if : steps.cached-poetry.outputs.cache-hit != 'true'
16- uses : snok/install-poetry@v1
17- with :
18- version : 2.1.1
12+ - name : Format dependecies for not yet updated actions/setup-python
13+ run : uv export --extra=dev -o requirements.txt
1914
2015 - name : Install python
2116 id : setup-python
2217 uses : actions/setup-python@v5
2318 with :
24- cache : ' poetry '
19+ cache : ' pip '
2520 python-version-file : ' pyproject.toml'
2621
27- - name : Make sure poetry lockfile is up to date
28- run : poetry check --lock && echo Lockfile is ok, $(poetry --version)
29- shell : bash
30-
3122 - name : Save python version to the env
3223 run : echo "python-version=${{ steps.setup-python.outputs.python-version }}" >> $GITHUB_ENV
3324 shell : bash
You can’t perform that action at this time.
0 commit comments