File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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/actions-poetry@v4.0.0
2727 with :
@@ -31,17 +31,20 @@ jobs:
3131 - uses : pre-commit/action@v3.0.1
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/actions-poetry@v4.0.0
4750 with :
You can’t perform that action at this time.
0 commit comments