|
43 | 43 | - uses: actions/checkout@v4 |
44 | 44 |
|
45 | 45 | - name: Set up Python ${{ matrix.python-version }} |
46 | | - uses: actions/setup-python@v5 |
| 46 | + uses: actions/setup-python@v6 |
47 | 47 | with: |
48 | 48 | python-version: ${{ matrix.python-version }} |
49 | 49 | architecture: ${{ matrix.python-architecture }} |
|
52 | 52 | check-latest: true |
53 | 53 | allow-prereleases: true |
54 | 54 |
|
55 | | - - name: Fix user Scripts missing from PATH |
56 | | - if: matrix.python-architecture == 'x86' || matrix.python-architecture == 'arm64' |
57 | | - run: | |
58 | | - # Work around https://github.com/actions/setup-python/issues/1005 |
59 | | - $ScriptsPath = python -c "import sysconfig,os; print(sysconfig.get_path('scripts', f'{os.name}_user'))" |
60 | | - echo $ScriptsPath |
61 | | - Add-Content $env:GITHUB_PATH $ScriptsPath |
62 | | -
|
63 | 55 | - name: Build and install |
64 | 56 | run: pip install . -v --user |
65 | 57 |
|
@@ -117,8 +109,8 @@ jobs: |
117 | 109 | steps: |
118 | 110 | - uses: actions/checkout@v4 |
119 | 111 |
|
120 | | - - name: Set up latest stable Python |
121 | | - uses: actions/setup-python@v5 |
| 112 | + - name: Set up Python ${{ matrix.python-version }} |
| 113 | + uses: actions/setup-python@v6 |
122 | 114 | with: |
123 | 115 | python-version: ${{ matrix.python-version }} |
124 | 116 | architecture: x64 |
@@ -162,7 +154,7 @@ jobs: |
162 | 154 | timeout-minutes: 30 |
163 | 155 | steps: |
164 | 156 | - uses: actions/checkout@v4 |
165 | | - - uses: actions/setup-python@v5 |
| 157 | + - uses: actions/setup-python@v6 |
166 | 158 | with: |
167 | 159 | # This job only needs to target the oldest supported version |
168 | 160 | python-version: "3.8" |
@@ -198,7 +190,7 @@ jobs: |
198 | 190 | python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] |
199 | 191 | steps: |
200 | 192 | - uses: actions/checkout@v4 |
201 | | - - uses: actions/setup-python@v5 |
| 193 | + - uses: actions/setup-python@v6 |
202 | 194 | with: |
203 | 195 | python-version: ${{ matrix.python-version }} |
204 | 196 | cache: pip |
|
0 commit comments