Skip to content

Commit 71d2ae8

Browse files
Merge branch 'main' into dependabot/pip/pytest-xdist-3.8.0
2 parents 9a0c39e + 6802f97 commit 71d2ae8

12 files changed

Lines changed: 48 additions & 48 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-python@v5
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1616
with:
1717
python-version: "3.11"
1818
cache: pip
@@ -27,8 +27,8 @@ jobs:
2727
matrix:
2828
python_version: ["3.11", "3.12", "3.13"]
2929
steps:
30-
- uses: actions/checkout@v4
31-
- uses: actions/setup-python@v5
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3232
with:
3333
python-version: ${{ matrix.python_version }}
3434
cache: pip
@@ -42,8 +42,8 @@ jobs:
4242
long_test_linux:
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@v4
46-
- uses: actions/setup-python@v5
45+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4747
with:
4848
python-version: 3.13
4949
cache: pip
@@ -57,8 +57,8 @@ jobs:
5757
long_test_windows:
5858
runs-on: windows-latest
5959
steps:
60-
- uses: actions/checkout@v4
61-
- uses: actions/setup-python@v5
60+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
61+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6262
with:
6363
python-version: 3.13
6464
cache: pip

.github/workflows/pypi.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
with:
1818
persist-credentials: false
1919
- name: Set up Python
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2121
with:
2222
python-version: "3.x"
2323
- name: Install pypa/build
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
python3 -m build
2929
- name: Store the distribution packages
30-
uses: actions/upload-artifact@v4
30+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
3131
with:
3232
name: python-package-distributions
3333
path: dist/
@@ -46,12 +46,12 @@ jobs:
4646

4747
steps:
4848
- name: Download all the dists
49-
uses: actions/download-artifact@v4
49+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c #v8.0.1
5050
with:
5151
name: python-package-distributions
5252
path: dist/
5353
- name: Publish distribution 📦 to PyPI
54-
uses: pypa/gh-action-pypi-publish@release/v1
54+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b #v1.14.0
5555

5656
github-release:
5757
name: >-
@@ -67,12 +67,12 @@ jobs:
6767

6868
steps:
6969
- name: Download all the dists
70-
uses: actions/download-artifact@v4
70+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c #v8.0.1
7171
with:
7272
name: python-package-distributions
7373
path: dist/
7474
- name: Sign the dists with Sigstore
75-
uses: sigstore/gh-action-sigstore-python@v3.0.0
75+
uses: sigstore/gh-action-sigstore-python@04cffa1d795717b140764e8b640de88853c92acc # v3.3.0
7676
with:
7777
inputs: >-
7878
./dist/*.tar.gz

bench_runner/templates/_benchmark.src.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
git config --global core.symlinks true
6969
- name: Checkout benchmarking
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7171
- name: git gc
7272
run: |
7373
git gc
@@ -83,11 +83,11 @@ jobs:
8383
# just pulled in in that case.
8484
git pull -s recursive -X ours --autostash --rebase
8585
- name: Add data to repo
86-
uses: EndBug/add-and-commit@v9
86+
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 #v10.0.0
8787
with:
8888
add: results
8989
- name: Upload artifacts
90-
uses: actions/upload-artifact@v4
90+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
9191
with:
9292
name: benchmark
9393
path: |
@@ -100,14 +100,14 @@ jobs:
100100

101101
steps:
102102
- name: Checkout benchmarking
103-
uses: actions/checkout@v4
103+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
104104
- name: git gc
105105
run: |
106106
git gc
107-
- uses: fregante/setup-git-user@v2
107+
- uses: fregante/setup-git-user@024bc0b8e177d7e77203b48dab6fb45666854b35 # v2.0.2
108108
- name: Setup system Python
109109
if: ${{ runner.arch == 'X64' }}
110-
uses: actions/setup-python@v5
110+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
111111
with:
112112
python-version: "3.11"
113113
- name: Building Python and running pyperformance
@@ -124,20 +124,20 @@ jobs:
124124
git pull -s recursive -X ours --autostash --rebase
125125
- name: Adding data to repo
126126
if: ${{ !inputs.perf }}
127-
uses: EndBug/add-and-commit@v9
127+
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 #v10.0.0
128128
with:
129129
add: results
130130
- name: Upload benchmark artifacts
131131
if: ${{ !inputs.perf }}
132-
uses: actions/upload-artifact@v4
132+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
133133
with:
134134
name: benchmark
135135
path: |
136136
benchmark.json
137137
overwrite: true
138138
- name: Upload perf artifacts
139139
if: ${{ inputs.perf }}
140-
uses: actions/upload-artifact@v4
140+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
141141
with:
142142
name: perf
143143
path: |
@@ -148,7 +148,7 @@ jobs:
148148

149149
steps:
150150
- name: Checkout benchmarking
151-
uses: actions/checkout@v4
151+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
152152
- name: git gc
153153
run: |
154154
git gc
@@ -164,11 +164,11 @@ jobs:
164164
# just pulled in in that case.
165165
git pull -s recursive -X ours --autostash --rebase
166166
- name: Add data to repo
167-
uses: EndBug/add-and-commit@v9
167+
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 #v10.0.0
168168
with:
169169
add: results
170170
- name: Upload artifacts
171-
uses: actions/upload-artifact@v4
171+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
172172
with:
173173
name: benchmark
174174
path: |

bench_runner/templates/_find_failures.src.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout benchmarking
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- name: Setup system Python
16-
uses: actions/setup-python@v5
16+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1717
with:
1818
python-version: "3.11"
1919
cache: pip
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
GH_TOKEN: ${{ github.token }}
2626
- name: Add to repo
27-
uses: EndBug/add-and-commit@v9
27+
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 #v10.0.0
2828
with:
2929
add: "['failures.md']"
3030
message: Benchmarking failures

bench_runner/templates/_generate.src.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout benchmarking
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
with:
3232
ref: main
3333
- name: Checkout CPython
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
persist-credentials: false
3737
repository: python/cpython
3838
path: cpython
3939
- name: Setup system Python
40-
uses: actions/setup-python@v5
40+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4141
with:
4242
python-version: "3.11"
4343
cache: pip
@@ -46,7 +46,7 @@ jobs:
4646
- name: Regenerate derived data
4747
run: python -m bench_runner generate_results ${{ inputs.force == true && '--force' || '' }}
4848
- name: Add to repo
49-
uses: EndBug/add-and-commit@v9
49+
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 #v10.0.0
5050
if: ${{ !inputs.dry_run }}
5151
with:
5252
add: "['results', 'README.md', 'RESULTS.md', 'longitudinal.svg', 'longitudinal.json', 'configs.svg', 'configs.json', 'memory_long.svg', 'memory_long.json', 'memory_configs.svg', 'memory_configs.json']"

bench_runner/templates/_notify.src.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
notify:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: technote-space/workflow-conclusion-action@v3
22+
- uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 #v3.0.3
2323
- name: Checkout benchmarking
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525
with:
2626
persist-credentials: false
2727
- name: Setup system Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929
with:
3030
python-version: "3.11"
3131
cache: pip

bench_runner/templates/_publish.src.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout benchmarking
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
ref: main
2626
# This has to be enough depth to handle since the last time we published.

bench_runner/templates/_pystats.src.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
runs-on: [self-hosted, linux, cloud]
4343
steps:
4444
- name: Checkout benchmarking
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4646
- name: git gc
4747
run: |
4848
git gc
4949
- name: Setup system Python
50-
uses: actions/setup-python@v5
50+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5151
with:
5252
python-version: "3.11"
5353
- name: Build CPython and run pyperformance benchmarks
@@ -61,6 +61,6 @@ jobs:
6161
# just pulled in in that case.
6262
git pull -s recursive -X ours --autostash --rebase
6363
- name: Add data to repo
64-
uses: EndBug/add-and-commit@v9
64+
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 #v10.0.0
6565
with:
6666
add: results

bench_runner/templates/_weekly.src.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
commit: ${{ steps.head.outputs.commit }}
1717
steps:
1818
- name: Checkout CPython
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
with:
2121
persist-credentials: false
2222
repository: python/cpython

bench_runner/templates/benchmark.src.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ jobs:
4646
need_to_run: ${{ steps.base.outputs.need_to_run }}
4747
steps:
4848
- name: Checkout benchmarking
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5050
with:
5151
persist-credentials: false
5252
- name: Setup system Python
53-
uses: actions/setup-python@v5
53+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5454
with:
5555
python-version: "3.11"
5656
cache: pip
5757
- name: Checkout CPython
58-
uses: actions/checkout@v4
58+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5959
with:
6060
persist-credentials: false
6161
repository: ${{ inputs.fork }}/cpython

0 commit comments

Comments
 (0)