Skip to content

Commit b45c272

Browse files
authored
Add matrix test + set baseline version to 3.13 (#47)
1 parent 10cf55c commit b45c272

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
${{ runner.os }}-poetry-
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525
- name: Install poetry
2626
uses: abatilo/[email protected]
2727
with:
@@ -31,17 +31,20 @@ jobs:
3131
- uses: pre-commit/[email protected]
3232
test:
3333
runs-on: ubuntu-20.04
34+
strategy:
35+
matrix:
36+
python-version: ['3.13', '3.12', '3.11', '3.10']
3437
steps:
3538
- uses: actions/checkout@master
3639
- uses: actions/cache@v4
3740
with:
3841
path: ~/.local/share/virtualenvs
39-
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
42+
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('poetry.lock') }}
4043
restore-keys: |
4144
${{ runner.os }}-poetry-
4245
- uses: actions/setup-python@v5
4346
with:
44-
python-version: '3.11'
47+
python-version: '${{ matrix.python-version }}'
4548
- name: Install poetry
4649
uses: abatilo/[email protected]
4750
with:

0 commit comments

Comments
 (0)