@@ -12,19 +12,21 @@ jobs:
1212 fail-fast : false
1313 matrix :
1414 include :
15- - { python: "3.10", os: "ubuntu-latest", session: "pre-commit" }
16- - { python: "3.10", os: "ubuntu-latest", session: "safety" }
15+ - { python: "3.12", os: "ubuntu-latest", session: "pre-commit" }
16+ - { python: "3.12", os: "ubuntu-latest", session: "safety" }
17+ - { python: "3.12", os: "ubuntu-latest", session: "mypy" }
18+ - { python: "3.11", os: "ubuntu-latest", session: "mypy" }
1719 - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
1820 - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
19- - { python: "3.8", os: "ubuntu-latest", session: "mypy" }
21+ - { python: "3.12", os: "ubuntu-latest", session: "tests" }
22+ - { python: "3.11", os: "ubuntu-latest", session: "tests" }
2023 - { python: "3.10", os: "ubuntu-latest", session: "tests" }
2124 - { python: "3.9", os: "ubuntu-latest", session: "tests" }
22- - { python: "3.8", os: "ubuntu-latest", session: "tests" }
23- - { python: "3.10", os: "windows-latest", session: "tests" }
24- - { python: "3.10", os: "macos-latest", session: "tests" }
25- - { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
26- - { python: "3.10", os: "ubuntu-latest", session: "xdoctest" }
27- - { python: "3.10", os: "ubuntu-latest", session: "docs-build" }
25+ - { python: "3.12", os: "windows-latest", session: "tests" }
26+ - { python: "3.12", os: "macos-latest", session: "tests" }
27+ - { python: "3.12", os: "ubuntu-latest", session: "typeguard" }
28+ - { python: "3.12", os: "ubuntu-latest", session: "xdoctest" }
29+ - { python: "3.12", os: "ubuntu-latest", session: "docs-build" }
2830
2931 env :
3032 NOXSESSION : ${{ matrix.session }}
@@ -36,13 +38,13 @@ jobs:
3638 uses : actions/checkout@v3
3739
3840 - name : Set up Python ${{ matrix.python }}
39- uses : actions/setup-python@v4
41+ uses : actions/setup-python@v4.6.1
4042 with :
4143 python-version : ${{ matrix.python }}
4244
4345 - name : Upgrade pip
4446 run : |
45- pip install --constraint=.github/workflows/constraints.txt pip
47+ pip install --constraint=${{ github.workspace }}/ .github/workflows/constraints.txt pip
4648 pip --version
4749
4850 - name : Upgrade pip in virtual environments
@@ -56,13 +58,13 @@ jobs:
5658
5759 - name : Install Poetry
5860 run : |
59- pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
61+ pipx install --pip-args=--constraint=${{ github.workspace }}/ .github/workflows/constraints.txt poetry
6062 poetry --version
6163
6264 - name : Install Nox
6365 run : |
64- pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
65- pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
66+ pipx install --pip-args=--constraint=${{ github.workspace }}/ .github/workflows/constraints.txt nox
67+ pipx inject --pip-args=--constraint=${{ github.workspace }}/ .github/workflows/constraints.txt nox nox-poetry
6668 nox --version
6769
6870 - name : Compute pre-commit cache key
@@ -115,24 +117,24 @@ jobs:
115117 uses : actions/checkout@v3
116118
117119 - name : Set up Python
118- uses : actions/setup-python@v4
120+ uses : actions/setup-python@v4.6.1
119121 with :
120- python-version : " 3.10 "
122+ python-version : " 3.12 "
121123
122124 - name : Upgrade pip
123125 run : |
124- pip install --constraint=.github/workflows/constraints.txt pip
126+ pip install --constraint=${{ github.workspace }}/ .github/workflows/constraints.txt pip
125127 pip --version
126128
127129 - name : Install Poetry
128130 run : |
129- pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
131+ pipx install --pip-args=--constraint=${{ github.workspace }}/ .github/workflows/constraints.txt poetry
130132 poetry --version
131133
132134 - name : Install Nox
133135 run : |
134- pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
135- pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
136+ pipx install --pip-args=--constraint=${{ github.workspace }}/ .github/workflows/constraints.txt nox
137+ pipx inject --pip-args=--constraint=${{ github.workspace }}/ .github/workflows/constraints.txt nox nox-poetry
136138 nox --version
137139
138140 - name : Download coverage data
0 commit comments