Skip to content

Commit d355547

Browse files
committed
Merge remote-tracking branch 'upstream/main' into pr/Pierre-Sassoulas/10490
2 parents 52f5ef9 + b6ac272 commit d355547

31 files changed

+228
-66
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
)
2626
)
2727
steps:
28-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
28+
- uses: actions/create-github-app-token@0f859bf9e69e887678d5bbfbee594437cb440ffe # v2.1.0
2929
id: app-token
3030
with:
3131
app-id: ${{ vars.APP_ID }}

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
timeout-minutes: 10
2222
steps:
2323
- name: Check out code from GitHub
24-
uses: actions/checkout@v4.2.2
24+
uses: actions/checkout@v5.0.0
2525
with:
2626
# `towncrier check` runs `git diff --name-only origin/main...`, which
2727
# needs a non-shallow clone.
@@ -41,7 +41,7 @@ jobs:
4141
$GITHUB_OUTPUT
4242
- name: Restore Python virtual environment
4343
id: cache-venv
44-
uses: actions/[email protected].3
44+
uses: actions/[email protected].4
4545
with:
4646
path: venv
4747
key: >-

.github/workflows/checks.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
pre-commit-key: ${{ steps.generate-pre-commit-key.outputs.key }}
3434
steps:
3535
- name: Check out code from GitHub
36-
uses: actions/checkout@v4.2.2
36+
uses: actions/checkout@v5.0.0
3737
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3838
id: python
3939
uses: actions/[email protected]
@@ -49,7 +49,7 @@ jobs:
4949
$GITHUB_OUTPUT
5050
- name: Restore Python virtual environment
5151
id: cache-venv
52-
uses: actions/[email protected].3
52+
uses: actions/[email protected].4
5353
with:
5454
path: venv
5555
key: >-
@@ -70,7 +70,7 @@ jobs:
7070
hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT
7171
- name: Restore pre-commit environment
7272
id: cache-precommit
73-
uses: actions/[email protected].3
73+
uses: actions/[email protected].4
7474
with:
7575
path: ${{ env.PRE_COMMIT_CACHE }}
7676
key: >-
@@ -88,7 +88,7 @@ jobs:
8888
needs: prepare-base
8989
steps:
9090
- name: Check out code from GitHub
91-
uses: actions/checkout@v4.2.2
91+
uses: actions/checkout@v5.0.0
9292
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
9393
id: python
9494
uses: actions/[email protected]
@@ -97,7 +97,7 @@ jobs:
9797
check-latest: true
9898
- name: Restore Python virtual environment
9999
id: cache-venv
100-
uses: actions/[email protected].3
100+
uses: actions/[email protected].4
101101
with:
102102
path: venv
103103
fail-on-cache-miss: true
@@ -106,7 +106,7 @@ jobs:
106106
needs.prepare-base.outputs.python-key }}
107107
- name: Restore pre-commit environment
108108
id: cache-precommit
109-
uses: actions/[email protected].3
109+
uses: actions/[email protected].4
110110
with:
111111
path: ${{ env.PRE_COMMIT_CACHE }}
112112
fail-on-cache-miss: true
@@ -129,7 +129,7 @@ jobs:
129129
needs: prepare-base
130130
steps:
131131
- name: Check out code from GitHub
132-
uses: actions/checkout@v4.2.2
132+
uses: actions/checkout@v5.0.0
133133
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
134134
id: python
135135
uses: actions/[email protected]
@@ -138,7 +138,7 @@ jobs:
138138
check-latest: true
139139
- name: Restore Python virtual environment
140140
id: cache-venv
141-
uses: actions/[email protected].3
141+
uses: actions/[email protected].4
142142
with:
143143
path: venv
144144
fail-on-cache-miss: true
@@ -158,7 +158,7 @@ jobs:
158158
needs: prepare-base
159159
steps:
160160
- name: Check out code from GitHub
161-
uses: actions/checkout@v4.2.2
161+
uses: actions/checkout@v5.0.0
162162
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
163163
id: python
164164
uses: actions/[email protected]
@@ -167,7 +167,7 @@ jobs:
167167
check-latest: true
168168
- name: Restore Python virtual environment
169169
id: cache-venv
170-
uses: actions/[email protected].3
170+
uses: actions/[email protected].4
171171
with:
172172
path: venv
173173
fail-on-cache-miss: true

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
steps:
5050
- name: Checkout repository
51-
uses: actions/checkout@v4.2.2
51+
uses: actions/checkout@v5.0.0
5252

5353
# Initializes the CodeQL tools for scanning.
5454
- name: Initialize CodeQL

.github/workflows/primer-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
python-key: ${{ steps.generate-python-key.outputs.key }}
3636
steps:
3737
- name: Check out code from GitHub
38-
uses: actions/checkout@v4.2.2
38+
uses: actions/checkout@v5.0.0
3939
- name: Set up Python ${{ matrix.python-version }}
4040
id: python
4141
uses: actions/[email protected]
@@ -51,7 +51,7 @@ jobs:
5151
$GITHUB_OUTPUT
5252
- name: Restore Python virtual environment
5353
id: cache-venv
54-
uses: actions/[email protected].3
54+
uses: actions/[email protected].4
5555
with:
5656
path: venv
5757
key: >-
@@ -75,7 +75,7 @@ jobs:
7575
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14-dev"]
7676
steps:
7777
- name: Check out code from GitHub
78-
uses: actions/checkout@v4.2.2
78+
uses: actions/checkout@v5.0.0
7979
- name: Set up Python ${{ matrix.python-version }}
8080
id: python
8181
uses: actions/[email protected]
@@ -84,7 +84,7 @@ jobs:
8484
check-latest: true
8585
- name: Restore Python virtual environment
8686
id: cache-venv
87-
uses: actions/[email protected].3
87+
uses: actions/[email protected].4
8888
with:
8989
path: venv
9090
fail-on-cache-miss: true

.github/workflows/primer_comment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Check out code from GitHub
33-
uses: actions/checkout@v4.2.2
33+
uses: actions/checkout@v5.0.0
3434
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3535
id: python
3636
uses: actions/[email protected]
@@ -41,7 +41,7 @@ jobs:
4141
# Restore cached Python environment
4242
- name: Restore Python virtual environment
4343
id: cache-venv
44-
uses: actions/[email protected].3
44+
uses: actions/[email protected].4
4545
with:
4646
path: venv
4747
key:

.github/workflows/primer_run_main.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
batchIdx: [0, 1, 2, 3]
3535
steps:
3636
- name: Check out code from GitHub
37-
uses: actions/checkout@v4.2.2
37+
uses: actions/checkout@v5.0.0
3838
- name: Set up Python ${{ matrix.python-version }}
3939
id: python
4040
uses: actions/[email protected]
@@ -45,7 +45,7 @@ jobs:
4545
# Create a re-usable virtual environment
4646
- name: Restore Python virtual environment cache
4747
id: cache-venv
48-
uses: actions/cache/[email protected].3
48+
uses: actions/cache/[email protected].4
4949
with:
5050
path: venv
5151
key:
@@ -63,7 +63,7 @@ jobs:
6363
# Save cached Python environment (explicit because cancel-in-progress: true)
6464
- name: Save Python virtual environment to cache
6565
if: steps.cache-venv.outputs.cache-hit != 'true'
66-
uses: actions/cache/[email protected].3
66+
uses: actions/cache/[email protected].4
6767
with:
6868
path: venv
6969
key:
@@ -82,7 +82,7 @@ jobs:
8282
echo "commitstring=$output" >> $GITHUB_OUTPUT
8383
- name: Restore projects cache
8484
id: cache-projects
85-
uses: actions/cache/[email protected].3
85+
uses: actions/cache/[email protected].4
8686
with:
8787
path: tests/.pylint_primer_tests/
8888
key: >-
@@ -95,7 +95,7 @@ jobs:
9595
python tests/primer/__main__.py prepare --clone
9696
- name: Save projects cache
9797
if: steps.cache-projects.outputs.cache-hit != 'true'
98-
uses: actions/cache/[email protected].3
98+
uses: actions/cache/[email protected].4
9999
with:
100100
path: tests/.pylint_primer_tests/
101101
key: >-

.github/workflows/primer_run_pr.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
batchIdx: [0, 1, 2, 3]
4444
steps:
4545
- name: Check out code from GitHub
46-
uses: actions/checkout@v4.2.2
46+
uses: actions/checkout@v5.0.0
4747
with:
4848
fetch-depth: 0
4949
- name: Set up Python ${{ matrix.python-version }}
@@ -56,7 +56,7 @@ jobs:
5656
# Restore cached Python environment
5757
- name: Restore Python virtual environment
5858
id: cache-venv
59-
uses: actions/cache/[email protected].3
59+
uses: actions/cache/[email protected].4
6060
with:
6161
path: venv
6262
key:
@@ -75,7 +75,7 @@ jobs:
7575
# Save cached Python environment (explicit because cancel-in-progress: true)
7676
- name: Save Python virtual environment
7777
if: steps.cache-venv.outputs.cache-hit != 'true'
78-
uses: actions/cache/[email protected].3
78+
uses: actions/cache/[email protected].4
7979
with:
8080
path: venv
8181
key:
@@ -151,7 +151,7 @@ jobs:
151151
echo "commitstring=$output" >> $GITHUB_OUTPUT
152152
- name: Restore projects cache
153153
id: cache-projects
154-
uses: actions/cache/[email protected].3
154+
uses: actions/cache/[email protected].4
155155
with:
156156
path: tests/.pylint_primer_tests/
157157
key: >-
@@ -164,7 +164,7 @@ jobs:
164164
python tests/primer/__main__.py prepare --clone
165165
- name: Save projects cache
166166
if: steps.cache-projects.outputs.cache-hit != 'true'
167-
uses: actions/cache/[email protected].3
167+
uses: actions/cache/[email protected].4
168168
with:
169169
path: tests/.pylint_primer_tests/
170170
key: >-

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: github.event_name == 'release'
1919
steps:
2020
- name: Check out code from Github
21-
uses: actions/checkout@v4.2.2
21+
uses: actions/checkout@v5.0.0
2222
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
2323
id: python
2424
uses: actions/[email protected]
@@ -50,7 +50,7 @@ jobs:
5050
id-token: write
5151
steps:
5252
- name: Download release assets
53-
uses: actions/download-artifact@v4.3.0
53+
uses: actions/download-artifact@v5.0.0
5454
with:
5555
name: release-assets
5656
path: dist/
@@ -67,7 +67,7 @@ jobs:
6767
id-token: write
6868
steps:
6969
- name: Download release assets
70-
uses: actions/download-artifact@v4.3.0
70+
uses: actions/download-artifact@v5.0.0
7171
with:
7272
name: release-assets
7373
path: dist/

.github/workflows/tests.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
python-key: ${{ steps.generate-python-key.outputs.key }}
4545
steps:
4646
- name: Check out code from GitHub
47-
uses: actions/checkout@v4.2.2
47+
uses: actions/checkout@v5.0.0
4848
- name: Set up Python ${{ matrix.python-version }}
4949
id: python
5050
# Custom with PyPy fix: https://github.com/actions/setup-python/pull/1110
@@ -61,7 +61,7 @@ jobs:
6161
$GITHUB_OUTPUT
6262
- name: Restore Python virtual environment
6363
id: cache-venv
64-
uses: actions/[email protected].3
64+
uses: actions/[email protected].4
6565
with:
6666
path: venv
6767
key: >-
@@ -100,7 +100,7 @@ jobs:
100100
needs: tests
101101
steps:
102102
- name: Check out code from GitHub
103-
uses: actions/checkout@v4.2.2
103+
uses: actions/checkout@v5.0.0
104104
- name: Set up Python 3.13
105105
id: python
106106
uses: actions/[email protected]
@@ -109,15 +109,15 @@ jobs:
109109
check-latest: true
110110
- name: Restore Python virtual environment
111111
id: cache-venv
112-
uses: actions/[email protected].3
112+
uses: actions/[email protected].4
113113
with:
114114
path: venv
115115
fail-on-cache-miss: true
116116
key:
117117
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
118118
needs.tests-linux.outputs.python-key }}
119119
- name: Download all coverage artifacts
120-
uses: actions/download-artifact@v4.3.0
120+
uses: actions/download-artifact@v5.0.0
121121
- name: Combine coverage results
122122
run: |
123123
. venv/bin/activate
@@ -140,7 +140,7 @@ jobs:
140140
python-version: ["3.13"]
141141
steps:
142142
- name: Check out code from GitHub
143-
uses: actions/checkout@v4.2.2
143+
uses: actions/checkout@v5.0.0
144144
- name: Set up Python ${{ matrix.python-version }}
145145
id: python
146146
uses: actions/[email protected]
@@ -149,7 +149,7 @@ jobs:
149149
check-latest: true
150150
- name: Restore Python virtual environment
151151
id: cache-venv
152-
uses: actions/[email protected].3
152+
uses: actions/[email protected].4
153153
with:
154154
path: venv
155155
fail-on-cache-miss: true
@@ -195,7 +195,7 @@ jobs:
195195
# Workaround to set correct temp directory on Windows
196196
# https://github.com/actions/virtual-environments/issues/712
197197
- name: Check out code from GitHub
198-
uses: actions/checkout@v4.2.2
198+
uses: actions/checkout@v5.0.0
199199
- name: Set up Python ${{ matrix.python-version }}
200200
id: python
201201
uses: actions/[email protected]
@@ -210,7 +210,7 @@ jobs:
210210
}}" >> $env:GITHUB_OUTPUT
211211
- name: Restore Python virtual environment
212212
id: cache-venv
213-
uses: actions/[email protected].3
213+
uses: actions/[email protected].4
214214
with:
215215
path: venv
216216
key: >-

0 commit comments

Comments
 (0)