Skip to content

Commit 5408627

Browse files
authored
Pin setup-python action to a commit hash (RustPython#7492)
1 parent fb6520e commit 5408627

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
with:
231231
save-if: ${{ github.ref == 'refs/heads/main' }}
232232

233-
- uses: actions/setup-python@v6.2.0
233+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
234234
with:
235235
python-version: ${{ env.PYTHON_VERSION }}
236236

@@ -324,7 +324,7 @@ jobs:
324324
with:
325325
persist-credentials: false
326326

327-
- uses: actions/setup-python@v6.2.0
327+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
328328
with:
329329
python-version: ${{ env.PYTHON_VERSION }}
330330

@@ -426,9 +426,11 @@ jobs:
426426
wget https://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-linux64.tar.gz
427427
mkdir geckodriver
428428
tar -xzf geckodriver-v0.36.0-linux64.tar.gz -C geckodriver
429-
- uses: actions/setup-python@v6.2.0
429+
430+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
430431
with:
431432
python-version: ${{ env.PYTHON_VERSION }}
433+
432434
- run: python -m pip install -r requirements.txt
433435
working-directory: ./wasm/tests
434436
- uses: actions/setup-node@v6

0 commit comments

Comments
 (0)