GeezerVison is showing github.com — CI: Include Python version in cache.config key (#111410) · python/cpython@9d4a1a4
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/build.yml +5-7Lines changed: 5 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
13 | 13 | - '3.10' |
14 | 14 | - '3.9' |
15 | 15 | - '3.8' |
16 | | - - '3.7' |
17 | 16 | pull_request: |
18 | 17 | branches: |
19 | 18 | - 'main' |
|
22 | 21 | - '3.10' |
23 | 22 | - '3.9' |
24 | 23 | - '3.8' |
25 | | - - '3.7' |
26 | 24 |
|
27 | 25 | permissions: |
28 | 26 | contents: read |
@@ -128,14 +126,14 @@ jobs: |
128 | 126 | if: needs.check_source.outputs.run_tests == 'true' |
129 | 127 | steps: |
130 | 128 | - uses: actions/checkout@v4 |
| 129 | + - uses: actions/setup-python@v4 |
| 130 | + with: |
| 131 | + python-version: '3.x' |
131 | 132 | - name: Restore config.cache |
132 | 133 | uses: actions/cache@v3 |
133 | 134 | with: |
134 | 135 | path: config.cache |
135 | | - key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }} |
136 | | - - uses: actions/setup-python@v4 |
137 | | - with: |
138 | | - python-version: '3.x' |
| 136 | + key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}-${{ env.pythonLocation }} |
139 | 137 | - name: Install Dependencies |
140 | 138 | run: sudo ./.github/workflows/posix-deps-apt.sh |
141 | 139 | - name: Add ccache to PATH |
@@ -280,7 +278,7 @@ jobs: |
280 | 278 | - uses: actions/checkout@v4 |
281 | 279 | - name: Register gcc problem matcher |
282 | 280 | run: echo "::add-matcher::.github/problem-matchers/gcc.json" |
283 | | - - name: Install Dependencies |
| 281 | + - name: Install dependencies |
284 | 282 | run: sudo ./.github/workflows/posix-deps-apt.sh |
285 | 283 | - name: Configure OpenSSL env vars |
286 | 284 | run: | |
|