Skip to content

Commit

Permalink
Bump actions/setup-python from 2 to 4 (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Jul 8, 2022
1 parent 5445b91 commit a79ca41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Switch to using Python 3.8 by default
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install tox
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/tox.yml
Expand Up @@ -41,15 +41,10 @@ jobs:
v = '${{ matrix.tox_env }}'.split('-')[0].lstrip('py')
print('::set-output name=version::{0}.{1}'.format(v[0],v[1:]))
# Even our lint and other envs need access to tox
- name: Install a default Python
uses: actions/setup-python@v2
if: ${{ ! contains(matrix.tox_env, 'py') }}
# Be sure to install the version of python needed by a specific test, if necessary
- name: Set up Python version
uses: actions/setup-python@v2
if: ${{ contains(matrix.tox_env, 'py') }}
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ steps.py_ver.outputs.version }}
python-version: ${{ steps.py_ver.outputs.version || '>=3.8' }}
- name: Install dependencies
run: |
python -m pip install -U pip
Expand Down

0 comments on commit a79ca41

Please sign in to comment.