Skip to content

Commit 7a08a1c

Browse files
committed
CI: use hashes for actions/setup-python and actions/checkout
Parrot hashes from SciPy main.
1 parent 66456ec commit 7a08a1c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
docs-build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- name: Set up Python 3.12
17-
uses: actions/setup-python@v5
17+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
1818
with:
1919
python-version: "3.12"
2020
cache: "pip"
@@ -45,7 +45,7 @@ jobs:
4545
pages: write
4646

4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949
- name: Download Artifact
5050
uses: actions/download-artifact@v4
5151
with:

.github/workflows/pip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222

2323
steps:
2424
# actions/setup-python@v5 has built-in functionality for caching and restoring dependencies.
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
cache: "pip" # caching pip dependencies

0 commit comments

Comments
 (0)