Skip to content

Commit 59c8f4b

Browse files
authored
Fix zizmor workflow (#2324)
## Which issue does this PR close? - Closes #2323 . ## What changes are included in this PR? ## Are these changes tested? ci
1 parent 626de2e commit 59c8f4b

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/bindings_python_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
9696
with:
9797
python-version: 3.12
98-
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1
98+
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
9999
with:
100100
working-directory: "bindings/python"
101101
command: build

.github/workflows/release_python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ jobs:
124124
env:
125125
NEEDS_VALIDATE_RELEASE_TAG_OUTPUTS_CARGO_VERSION: ${{ needs.validate-release-tag.outputs.cargo-version }}
126126

127-
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1
127+
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
128128
with:
129129
working-directory: "bindings/python"
130130
command: sdist
131131
args: -o dist
132132
- name: Upload sdist
133-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
133+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
134134
with:
135135
name: wheels-sdist
136136
path: bindings/python/dist
@@ -184,15 +184,15 @@ jobs:
184184
uses: ./.github/actions/setup-builder
185185
with:
186186
rust-version: ${{ steps.get-msrv.outputs.msrv }}
187-
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1
187+
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
188188
with:
189189
target: ${{ matrix.target }}
190190
manylinux: ${{ matrix.manylinux || 'auto' }}
191191
working-directory: "bindings/python"
192192
command: build
193193
args: --release -o dist -i python3.12 # Explicitly set interpreter; manylinux containers have multiple Pythons and maturin may pick an older one
194194
- name: Upload wheels
195-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
195+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
196196
with:
197197
name: wheels-${{ matrix.os }}-${{ matrix.target }}
198198
path: bindings/python/dist

.github/workflows/release_python_nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ jobs:
4848
with:
4949
timestamp: ${{ needs.set-version.outputs.TIMESTAMP }}
5050

51-
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1
51+
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
5252
with:
5353
working-directory: "bindings/python"
5454
command: sdist
5555
args: -o dist
5656

5757
- name: Upload sdist
58-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
58+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
5959
with:
6060
name: wheels-sdist
6161
path: bindings/python/dist
@@ -98,7 +98,7 @@ jobs:
9898
with:
9999
rust-version: ${{ steps.get-msrv.outputs.msrv }}
100100

101-
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1
101+
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
102102
with:
103103
target: ${{ matrix.target }}
104104
manylinux: ${{ matrix.manylinux || 'auto' }}
@@ -107,7 +107,7 @@ jobs:
107107
args: --release -o dist -i python3.12 # Explicitly set interpreter; manylinux containers have multiple Pythons and maturin may pick an older one
108108

109109
- name: Upload wheels
110-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
110+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
111111
with:
112112
name: wheels-${{ matrix.os }}-${{ matrix.target }}
113113
path: bindings/python/dist

0 commit comments

Comments
 (0)