Skip to content

Commit 9d36c7c

Browse files
committed
Modernize CI script
* Use built-in cache of setup-python action. * Run CI against Python 3.10 stable.
1 parent 822e8ba commit 9d36c7c

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/test-and-lint.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ["3.7", "3.8", "3.9", "3.10.0-beta.4"]
11+
python-version: ["3.7", "3.8", "3.9", "3.10"]
1212
fail-fast: false
1313

1414
steps:
@@ -17,11 +17,7 @@ jobs:
1717
uses: actions/setup-python@v2
1818
with:
1919
python-version: ${{ matrix.python-version }}
20-
- name: Cache dependencies
21-
uses: actions/cache@v1
22-
with:
23-
path: ~/.cache/pip
24-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
20+
cache: pip
2521
- name: Install dependencies
2622
run: |
2723
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)