update github python actions and use pip cache

This commit is contained in:
Glandos 2022-10-23 12:41:20 +02:00
parent 7a51fb9640
commit 772eb4bc84

View file

@ -65,11 +65,12 @@ jobs:
database: sqlite
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Change dependencies to minimal supported versions
run: sed -i -e 's/>=/==/g; s/~=.*==\(.*\)/==\1/g; s/~=/==/g;' setup.cfg
if: matrix.dependencies == 'minimal'