Skip to content

Commit

Permalink
[c] Upgrade Python version to 3.9 for archive and cron tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lamle-ea committed Sep 27, 2023
1 parent 9fba9d2 commit 15d3664
Show file tree
Hide file tree
Showing 3 changed files with 480 additions and 405 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ jobs:
sudo openvpn --config /etc/openvpn/ovpn.conf --daemon
sleep 120
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9

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

- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.8
PIPENV_DEFAULT_PYTHON_VERSION: 3.9

- name: Run scrapers
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ jobs:
sudo openvpn --config /etc/openvpn/ovpn.conf --daemon
sleep 120
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9

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

- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.8
PIPENV_DEFAULT_PYTHON_VERSION: 3.9

- name: Run scrapers
run: |
Expand Down
Loading

0 comments on commit 15d3664

Please sign in to comment.