@@ -21,14 +21,13 @@ jobs:
2121 working-directory : ${{ matrix.lib }}
2222 steps :
2323 - uses : actions/checkout@v4
24+ - name : Install poetry
25+ run : pipx install poetry
2426 - name : Set up Python
2527 uses : actions/setup-python@v5
2628 with :
2729 python-version : ${{ matrix.python-version }}
28- - name : Install poetry
29- run : |
30- pip install poetry
31- poetry --version
30+ cache : " poetry"
3231 - name : Install dependencies and library
3332 run : poetry install
3433 - name : Check format
@@ -47,14 +46,13 @@ jobs:
4746 working-directory : ${{ matrix.lib }}
4847 steps :
4948 - uses : actions/checkout@v4
49+ - name : Install poetry
50+ run : pipx install poetry
5051 - name : Set up Python
5152 uses : actions/setup-python@v5
5253 with :
5354 python-version : ${{ matrix.python-version }}
54- - name : Install poetry
55- run : |
56- pip install poetry
57- poetry --version
55+ cache : " poetry"
5856 - name : Install dependencies and library
5957 run : poetry install
6058 - name : Check typing
@@ -73,14 +71,13 @@ jobs:
7371 working-directory : ${{ matrix.lib }}
7472 steps :
7573 - uses : actions/checkout@v4
74+ - name : Install poetry
75+ run : pipx install poetry
7676 - name : Set up Python
7777 uses : actions/setup-python@v5
7878 with :
7979 python-version : ${{ matrix.python-version }}
80- - name : Install poetry
81- run : |
82- pip install poetry
83- poetry --version
80+ cache : " poetry"
8481 - name : Install dependencies and library
8582 run : poetry install
8683 # We ignore the following rules for now:
@@ -102,14 +99,13 @@ jobs:
10299 working-directory : ${{ matrix.lib }}
103100 steps :
104101 - uses : actions/checkout@v4
102+ - name : Install poetry
103+ run : pipx install poetry
105104 - name : Set up Python
106105 uses : actions/setup-python@v5
107106 with :
108107 python-version : ${{ matrix.python-version }}
109- - name : Install poetry
110- run : |
111- pip install poetry
112- poetry --version
108+ cache : " poetry"
113109 - name : Install dependencies and library
114110 run : poetry install
115111 - name : Run tests
0 commit comments