Skip to content

Commit b6680ac

Browse files
authored
Merge pull request #178 from lavr/fix/ci-update-actions
Update GitHub Actions to supported versions
2 parents 18dbbc3 + 4eea588 commit b6680ac

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,17 @@ jobs:
2020
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
2121
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
2222
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
23-
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
24-
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
25-
- {name: '3.6', python: '3.6', os: ubuntu-20.04, tox: py36}
2623
steps:
27-
- uses: actions/checkout@v2
28-
- uses: actions/setup-python@v2
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-python@v5
2926
with:
3027
python-version: ${{ matrix.python }}
28+
cache: pip
3129
- name: update pip
3230
run: |
3331
pip install -U wheel
3432
pip install -U setuptools
3533
python -m pip install -U pip
36-
- name: get pip cache dir
37-
id: pip-cache
38-
run: echo "::set-output name=dir::$(pip cache dir)"
39-
- name: cache pip
40-
uses: actions/cache@v1
41-
with:
42-
path: ${{ steps.pip-cache.outputs.dir }}
43-
key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }}
4434
- run: pip install tox
4535
- name: run rests
4636
env:

0 commit comments

Comments
 (0)