Skip to content

Commit

Permalink
Install also Python 3.7 for update-lint-requirements
Browse files Browse the repository at this point in the history
Follow-up on commit d604bff .

Drop caching of pip directory for this workflow.
  • Loading branch information
nsoranzo committed Sep 2, 2023
1 parent d93cddd commit 20022b8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8'] # poetry requires Python >=3.8
python-version: ['3.7']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip dir
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
# poetry requires Python >=3.8, but lint requirements currently need
# to be generated with `pip freeze`` on the oldest Python version
# supported by Galaxy.
python-version: |
${{ matrix.python-version }}
3.8
- name: Update dependencies
run: |
python -m venv .venv
Expand Down

0 comments on commit 20022b8

Please sign in to comment.