Skip to content

Commit d1a3dbe

Browse files
Revert "Use python 3.9 venv for cronjob"
This reverts commit 08d0c71.
1 parent 6a8ee57 commit d1a3dbe

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/cron.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,27 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v1
2727

28-
- name: Set up Python 3.9
28+
- name: Set up Python 3.7
2929
uses: actions/setup-python@v1
3030
with:
31-
python-version: 3.9
31+
python-version: 3.7
3232

3333
- name: Install Pipenv
3434
uses: dschep/install-pipenv-action@v1
3535

36+
- name: Cache Python dependencies
37+
uses: actions/cache@v1
38+
with:
39+
path: .venv
40+
key: pip-3.7-${{ hashFiles('**/Pipfile.lock') }}
41+
restore-keys: |
42+
pip-3.7-
43+
pip-
44+
3645
- name: Install dependencies
3746
run: pipenv sync
3847
env:
39-
PIPENV_DEFAULT_PYTHON_VERSION: 3.9
48+
PIPENV_DEFAULT_PYTHON_VERSION: 3.7
4049

4150
- name: Run scrapers
4251
run: |

0 commit comments

Comments
 (0)