Skip to content

Commit 821b0c9

Browse files
committed
Update release workflow
1 parent c027cd2 commit 821b0c9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,21 @@ jobs:
1616
with:
1717
python-version: 3.8
1818

19+
- uses: actions/cache@v3
20+
with:
21+
path: ~/.cache/pip
22+
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
23+
restore-keys: |
24+
${{ runner.os }}-pip-
25+
1926
- name: Install dependencies
2027
run: |
2128
python -m pip install --upgrade pip
22-
pip install setuptools setuptools_scm wheel
2329
pip install numpy packaging
2430
pip install -r requirements.txt
2531
pip install -e .
2632
pip install -e .[tests]
33+
pip install setuptools setuptools_scm wheel
2734
2835
- name: Test
2936
run: pytest

0 commit comments

Comments
 (0)