Skip to content

Commit

Permalink
Merge pull request #647 from ucb-rit/issue_646
Browse files Browse the repository at this point in the history
Issue 646: Upgrade Github Actions Workflow to 3.10
  • Loading branch information
matthew-li authored Oct 21, 2024
2 parents db54c5f + 65b0f30 commit 17d4578
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/django_testing_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
- name: Checkout the current commit
uses: actions/checkout@v3

- name: Set up Python 3.8.13
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.8.13
python-version: "3.10"

- name: Cache and/or Install apache2-dev needed for testing suite
uses: awalsh128/cache-apt-pkgs-action@latest
Expand All @@ -52,12 +52,12 @@ jobs:
uses: actions/cache@v3
with:
path: ~/venv
key: ${{ runner.os }}-python-packages-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-python310-packages-${{ hashFiles('requirements.txt') }}

- if: ${{ steps.cache-python.outputs.cache-hit != 'true' }} # If a cache is not found
name: Install Python packages
run: |
python3.8 -m venv ~/venv
python3.10 -m venv ~/venv
source ~/venv/bin/activate
pip install -r requirements.txt
Expand Down

0 comments on commit 17d4578

Please sign in to comment.