Skip to content

Commit

Permalink
Update GHA action versions
Browse files Browse the repository at this point in the history
The old ones are deprecated because they use an obsolete Node v16
runtime or something.

Also run flake8 on Python 3.12 for extra oomph.
  • Loading branch information
mgedmin committed May 3, 2024
1 parent f29eaf8 commit 8bca0b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"

- name: Pip cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
Expand Down Expand Up @@ -101,13 +101,13 @@ jobs:
- name: Git clone
uses: actions/checkout@v4

- name: Set up Python ${{ env.default_python || '3.9' }}
uses: actions/setup-python@v4
- name: Set up Python ${{ env.default_python || '3.12' }}
uses: actions/setup-python@v5
with:
python-version: "${{ env.default_python || '3.9' }}"
python-version: "${{ env.default_python || '3.12' }}"

- name: Pip cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.toxenv }}-${{ hashFiles('tox.ini', 'setup.py') }}
Expand Down

0 comments on commit 8bca0b9

Please sign in to comment.