Skip to content

Commit 5aa8388

Browse files
committed
ci: pin all GitHub Actions SHAs
1 parent b74ba32 commit 5aa8388

File tree

9 files changed

+35
-35
lines changed

9 files changed

+35
-35
lines changed

.github/workflows/anaconda.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
HYPOTHESIS_PROFILE: 'ci'
2525
steps:
2626
- name: Set up Python
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2828
with:
2929
python-version: ${{ matrix.py }}
3030

31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3232
with:
3333
persist-credentials: false
3434

@@ -49,7 +49,7 @@ jobs:
4949
python ci/copy-conda-package.py
5050
5151
- name: Upload Package
52-
uses: actions/upload-artifact@v4
52+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5353
with:
5454
name: linux-${{ matrix.py }}
5555
path: dist
@@ -74,11 +74,11 @@ jobs:
7474
HYPOTHESIS_PROFILE: 'ci'
7575
steps:
7676
- name: Set up Python
77-
uses: actions/setup-python@v5
77+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
7878
with:
7979
python-version: ${{ matrix.py }}
8080

81-
- uses: actions/checkout@v4
81+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
8282
with:
8383
persist-credentials: false
8484

@@ -99,7 +99,7 @@ jobs:
9999
# C:\Miniconda\envs\env\python.exe ci/copy-conda-package.py
100100

101101
- name: Upload Package
102-
uses: actions/upload-artifact@v4
102+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
103103
with:
104104
name: windows-${{ matrix.py }}
105105
path: dist

.github/workflows/external-zstd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
sudo apt-get install -y libzstd1 libzstd-dev python3-cffi
1919
2020
- name: Set up Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2222
with:
2323
python-version: '3.9'
2424

25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2626
with:
2727
persist-credentials: false
2828

@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Set up Python
45-
uses: actions/setup-python@v5
45+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4646
with:
4747
python-version: '3.9'
4848

@@ -51,7 +51,7 @@ jobs:
5151
brew install -v zstd
5252
python -m pip install cffi
5353
54-
- uses: actions/checkout@v4
54+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
5555
with:
5656
persist-credentials: false
5757

.github/workflows/pypy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
PYTHONDEVMODE: '1'
3535
steps:
3636
- name: Set up Python
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3838
with:
3939
python-version: ${{ matrix.py }}
4040
architecture: ${{ matrix.arch }}
4141

42-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
4343
with:
4444
persist-credentials: false
4545

@@ -81,12 +81,12 @@ jobs:
8181
PYTHONDEVMODE: '1'
8282
steps:
8383
- name: Set up Python
84-
uses: actions/setup-python@v5
84+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
8585
with:
8686
python-version: ${{ matrix.py }}
8787
architecture: ${{ matrix.arch }}
8888

89-
- uses: actions/checkout@v4
89+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
9090
with:
9191
persist-credentials: false
9292

.github/workflows/ruff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
ruff:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1111
with:
1212
persist-credentials: false
13-
- uses: astral-sh/ruff-action@v1
13+
- uses: astral-sh/ruff-action@d0a0e814ec17e92d33be7d24dd922b479f1bcd38 # v1.1.1

.github/workflows/sdist.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
runs-on: 'ubuntu-22.04'
99
steps:
1010
- name: Set up Python
11-
uses: actions/setup-python@v5
11+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1212
with:
1313
python-version: '3.9'
1414

15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1616
with:
1717
persist-credentials: false
1818

@@ -22,6 +22,6 @@ jobs:
2222
python setup.py sdist
2323
2424
- name: Upload sdist
25-
uses: actions/upload-artifact@v4
25+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2626
with:
2727
path: dist

.github/workflows/sphinx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
sphinx:
88
runs-on: ubuntu-24.04
99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1111
with:
1212
persist-credentials: false
1313
- name: Install uv
14-
uses: astral-sh/setup-uv@v6
14+
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
1515
with:
1616
version: "0.8.11"
1717
- name: Run Sphinx

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,18 @@ jobs:
7272
PYTHONDEVMODE: '1'
7373
steps:
7474
- name: Set up Python
75-
uses: actions/setup-python@v5
75+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
7676
with:
7777
python-version: ${{ matrix.py }}
7878
architecture: ${{ matrix.arch }}
7979

8080
- name: Install Rust
8181
if: matrix.arch != 'x86' && matrix.py != '3.14.0-rc.2'
82-
uses: dtolnay/rust-toolchain@v1
82+
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # v1
8383
with:
8484
toolchain: stable
8585

86-
- uses: actions/checkout@v4
86+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
8787
with:
8888
persist-credentials: false
8989

.github/workflows/typing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
- '3.14'
1818
runs-on: 'ubuntu-24.04'
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2121
with:
2222
persist-credentials: false
2323
- name: Install uv
24-
uses: astral-sh/setup-uv@v6
24+
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
2525
with:
2626
version: "0.8.11"
2727

.github/workflows/wheel.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ jobs:
3636
py: 'cp314-cp314'
3737
runs-on: ${{ endsWith(matrix.image, 'aarch64') && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
4040
with:
4141
persist-credentials: false
4242

4343
- name: Set up QEMU
4444
if: ${{ endsWith(matrix.image, 'ppc64le') || endsWith(matrix.image, 's390x') }}
45-
uses: docker/setup-qemu-action@v3
45+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4646

4747
- name: Build Wheel
4848
run: |
4949
docker run -e PYPATH=/opt/python/${{ matrix.py }} -e ZSTD_WARNINGS_AS_ERRORS=1 --rm -v `pwd`:/project quay.io/pypa/${{ matrix.image }} /project/ci/build-manylinux-wheel.sh
5050
5151
- name: Upload Wheel
52-
uses: actions/upload-artifact@v4
52+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5353
with:
5454
name: linux-${{ matrix.py }}-${{ matrix.image }}
5555
path: dist
@@ -76,11 +76,11 @@ jobs:
7676
ZSTD_WARNINGS_AS_ERRORS: '1'
7777
steps:
7878
- name: Set up Python
79-
uses: actions/setup-python@v5
79+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
8080
with:
8181
python-version: '3.13'
8282

83-
- uses: actions/checkout@v4
83+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
8484
with:
8585
persist-credentials: false
8686

@@ -93,7 +93,7 @@ jobs:
9393
cibuildwheel --output-dir dist
9494
9595
- name: Upload Wheel
96-
uses: actions/upload-artifact@v4
96+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9797
with:
9898
name: macos-${{ matrix.py }}-${{ matrix.arch }}
9999
path: dist
@@ -125,12 +125,12 @@ jobs:
125125
ZSTD_WARNINGS_AS_ERRORS: '1'
126126
steps:
127127
- name: Set up Python
128-
uses: actions/setup-python@v5
128+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
129129
with:
130130
python-version: ${{ matrix.py }}
131131
architecture: ${{ matrix.arch }}
132132

133-
- uses: actions/checkout@v4
133+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
134134
with:
135135
persist-credentials: false
136136

@@ -139,7 +139,7 @@ jobs:
139139
python -m pip wheel -w dist .
140140
141141
- name: Upload Wheel
142-
uses: actions/upload-artifact@v4
142+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
143143
with:
144144
name: windows-${{ matrix.py }}-${{ matrix.arch }}
145145
path: dist

0 commit comments

Comments
 (0)