Skip to content

Commit 29dbeee

Browse files
chore: pin actions to SHA in .github/workflows/build.yml
1 parent 9fbed7c commit 29dbeee

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
2020
with:
2121
python-version: "3.10" # Adjust based on your project’s requirements
2222

2323
- name: Install PocketIC server
24-
uses: dfinity/pocketic@main
24+
uses: dfinity/pocketic@20c33db1aa87cc6ece50857ac632c37acf5e0322 # main
2525
with:
2626
pocket-ic-server-version: "13.0.0"
2727

@@ -39,7 +39,7 @@ jobs:
3939
python3 examples/counter_canister/counter_canister_test.py
4040
4141
- name: Install Poetry
42-
uses: snok/install-poetry@v1
42+
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
4343
with:
4444
version: latest
4545

@@ -51,14 +51,14 @@ jobs:
5151

5252
- if: matrix.os == 'ubuntu-latest'
5353
name: Upload wheel file
54-
uses: actions/upload-artifact@v4
54+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5555
with:
5656
name: pocket_ic_${{ github.sha }}.whl
5757
path: dist/*.whl
5858

5959
- if: matrix.os == 'ubuntu-latest'
6060
name: Upload sources
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6262
with:
6363
name: pocket_ic_${{ github.sha }}.tar.gz
6464
path: dist/*.tar.gz
@@ -73,11 +73,11 @@ jobs:
7373
permissions: write-all
7474

7575
steps:
76-
- uses: actions/download-artifact@v4
76+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
7777
with:
7878
name: pocket_ic_${{ github.sha }}.whl
7979

80-
- uses: actions/download-artifact@v4
80+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
8181
with:
8282
name: pocket_ic_${{ github.sha }}.tar.gz
8383

@@ -100,10 +100,10 @@ jobs:
100100
cp *.tar.gz dist/
101101
102102
- name: upload artifacts to release page
103-
uses: softprops/action-gh-release@master
103+
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # master
104104
with:
105105
files: |
106106
${{ steps.set_name_whl.outputs.artifact_name }}
107107
108108
- name: Publish package distributions to PyPI
109-
uses: pypa/gh-action-pypi-publish@release/v1
109+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1

0 commit comments

Comments
 (0)