Skip to content

Commit

Permalink
Upgrade to python 3.12 and use built-in cache feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kwk committed Mar 19, 2024
1 parent 3fb7f24 commit adde89e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/actions/prepare-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@ runs:
- name: "Setup python"
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: "Check for cached dependencies"
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
python-version: 3.12
cache: 'pip'

- name: "Install and upgrade pip"
shell: bash
Expand Down

0 comments on commit adde89e

Please sign in to comment.