@@ -16,22 +16,22 @@ jobs:
1616 python-version : ['3.8', '3.9', '3.10']
1717
1818 steps :
19- - uses : actions/checkout@v4
20- - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v5
22- with :
23- python-version : ${{ matrix.python-version }}
24- - uses : actions/cache@v4
25- with :
26- path : ~/.cache/pip
27- key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
28- restore-keys : ${{ runner.os }}-python-${{ matrix.python-version }}-pip
29- - name : Install dependencies
30- run : |
31- python -m pip install --upgrade pip
32- python -m pip install tox tox-gh-actions
33- - name : Lint
34- if : matrix.python-version == '3.10'
35- run : tox -e flake8
36- - name : Tests
37- run : tox
19+ - uses : actions/checkout@v4
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+ - uses : actions/cache@v4
25+ with :
26+ path : ~/.cache/pip
27+ key : ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
28+ restore-keys : ${{ runner.os }}-python-${{ matrix.python-version }}-pip
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip
32+ python -m pip install tox tox-gh-actions
33+ - name : Lint
34+ if : matrix.python-version == '3.10'
35+ run : tox -e flake8
36+ - name : Tests
37+ run : tox
0 commit comments