Skip to content

Commit 38fc040

Browse files
committed
CI: replace actions/setup-python with setup-hardened-python in release.yml
1 parent 3541ec5 commit 38fc040

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/actionlint.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ paths:
2020
".github/workflows/release-cuda-pathfinder.yml":
2121
ignore:
2222
- 'specifying action "\$/[^"]+" in invalid format because ref is missing'
23+
".github/workflows/release.yml":
24+
ignore:
25+
- 'specifying action "\$/[^"]+" in invalid format because ref is missing'
2326
".github/workflows/test-wheel-linux.yml":
2427
ignore:
2528
- 'specifying action "\$/[^"]+" in invalid format because ref is missing'

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ jobs:
165165
ref: ${{ inputs.git-tag }}
166166

167167
- name: Set up Python
168-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
168+
# $/ resolves at the workflow's commit. ./ would resolve against the
169+
# release tag checkout, which can predate this action.
170+
uses: $/.github/actions/setup-hardened-python
169171
with:
170172
python-version: "3.12"
171173

0 commit comments

Comments
 (0)