File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,15 @@ jobs:
29
29
python-version : ${{ matrix.python-version }}
30
30
31
31
# Cache the installation of Poetry itself, e.g. the next step. This prevents the workflow
32
- # from installing Poetry every time, which can be slow. Note the use of the Poetry version
33
- # number in the cache key.
32
+ # from installing Poetry every time, which can be slow.
34
33
- name : cache poetry install
35
34
uses : actions/cache@v4
36
35
with :
37
36
path : ~/.local
38
- key : poetry-1.8.2
37
+ key : ${{ runner.os }}-poetry
39
38
40
- # Install Poetry. You could do this manually, or there are several actions that do this.
41
- # `snok/install-poetry` seems to be minimal yet complete, and really just calls out to
42
- # Poetry's default install script, which feels correct. I pin the Poetry version here
43
- # because Poetry does occasionally change APIs between versions and I don't want my
44
- # actions to break if it does.
45
- - uses : snok/install-poetry@v1
46
- with :
47
- version : 1.8.2
39
+ - name : Install Poetry
40
+ run : pipx install poetry
48
41
49
42
- name : Cache Poetry packages
50
43
id : cache-deps
You can’t perform that action at this time.
0 commit comments