Skip to content

Commit

Permalink
Use python 3.9 venv for cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
SimmonsRitchie committed Dec 20, 2023
1 parent 159bcb1 commit 08d0c71
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,18 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.7
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.9

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

- name: Cache Python dependencies
uses: actions/cache@v1
with:
path: .venv
key: pip-3.7-${{ hashFiles('**/Pipfile.lock') }}
restore-keys: |
pip-3.7-
pip-
- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.7
PIPENV_DEFAULT_PYTHON_VERSION: 3.9

- name: Run scrapers
run: |
Expand Down

0 comments on commit 08d0c71

Please sign in to comment.