@@ -59,33 +59,33 @@ jobs:
5959 shell : bash
6060 steps :
6161 - name : ' Checkout code'
62- uses : actions/checkout@v4
62+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6363 with :
6464 submodules : recursive
6565
6666 - name : ' Cache native index.node artifacts'
6767 id : cached-artifact
68- uses : actions/cache@v4
68+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
6969 with :
7070 path : ./packages/core-bridge/releases
7171 key : corebridge-artifactcache-${{ matrix.platform }}-${{ hashFiles('./packages/core-bridge/**/Cargo.lock', './packages/core-bridge/**/*.rs') }}
7272
7373 - name : Install protoc
7474 if : steps.cached-artifact.outputs.cache-hit != 'true' && !matrix.container
75- uses : arduino/setup-protoc@v3
75+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
7676 with :
7777 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
7878 version : ' 23.x'
7979 repo-token : ${{ secrets.GITHUB_TOKEN }}
8080
8181 - name : Upgrade Rust to latest stable
82- uses : dtolnay/rust-toolchain@stable
82+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
8383
8484 # FIXME: Setup volumes so that we can benefit from the cache in the Docker-build scenario.
8585 # Or maybe just get rid of the cache entirely if it doesn't have sufficient benefits.
8686 - name : Rust Cargo and Build cache
8787 if : steps.cached-artifact.outputs.cache-hit != 'true' && !matrix.container
88- uses : Swatinem/rust-cache@v2
88+ uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
8989 with :
9090 workspaces : packages/core-bridge -> target
9191 prefix-key : corebridge-buildcache
@@ -128,7 +128,7 @@ jobs:
128128 objdump -T ./releases/${{ matrix.target }}/index.node |
129129 grep GLIBC | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -V | tail -1
130130
131- - uses : actions/upload-artifact@v4
131+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
132132 with :
133133 name : corebridge-native-${{ matrix.platform }}
134134 # Actual file will be named ${{ matrix.target }}/index.node
@@ -154,12 +154,12 @@ jobs:
154154 shell : bash
155155 steps :
156156 - name : Checkout code
157- uses : actions/checkout@v4
157+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
158158 with :
159159 submodules : recursive
160160
161161 - name : Download core-bridge native libraries
162- uses : actions/download-artifact@v4
162+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
163163 with :
164164 path : ./packages/core-bridge/releases/tmp
165165
@@ -184,7 +184,7 @@ jobs:
184184 run : pnpm tsx scripts/publish-to-verdaccio.ts --registry-dir ./tmp/registry
185185
186186 - name : Save Verdaccio repo artifact
187- uses : actions/upload-artifact@v4
187+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
188188 with :
189189 name : verdaccio-repo
190190 path : ./tmp/registry/storage
@@ -231,7 +231,7 @@ jobs:
231231 TEMPORAL_CLIENT_KEY : ${{ secrets.TEMPORAL_CLIENT_KEY }}
232232 steps :
233233 - name : ' Checkout code'
234- uses : actions/checkout@v4
234+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
235235 with :
236236 # We don't need the core submodule here since won't build the project
237237 submodules : false
@@ -243,7 +243,7 @@ jobs:
243243 platform : ${{ matrix.platform }}
244244
245245 - name : Restore Verdaccio repo artifact
246- uses : actions/download-artifact@v4
246+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
247247 with :
248248 name : verdaccio-repo
249249 path : ./tmp/registry/storage
@@ -254,7 +254,7 @@ jobs:
254254
255255 - name : Install Temporal CLI
256256 if : matrix.server == 'cli'
257- uses : temporalio/setup-temporal@v0
257+ uses : temporalio/setup-temporal@1059a504f87e7fa2f385e3fa40d1aa7e62f1c6ca # v0
258258
259259 - name : Run Temporal CLI
260260 if : matrix.server == 'cli'
0 commit comments