Skip to content

Commit ab565a2

Browse files
authored
Merge pull request #209 from scipy/ci_hashes
CI: use hashes for the actions
2 parents 66456ec + e4419e9 commit ab565a2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 6 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"
@@ -28,7 +28,7 @@ jobs:
2828
sphinx-build -b html docs/ docs/build/
2929
3030
- name: Upload Artifact
31-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3232
with:
3333
name: docs-build
3434
path: docs/build/
@@ -45,14 +45,14 @@ jobs:
4545
pages: write
4646

4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949
- name: Download Artifact
50-
uses: actions/download-artifact@v4
50+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
5151
with:
5252
name: docs-build
5353
path: docs/build/
5454

5555
- name: Deploy to GitHub pages
56-
uses: JamesIves/github-pages-deploy-action@v4
56+
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
5757
with:
5858
folder: docs/build/

.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)