@@ -20,18 +20,18 @@ jobs:
2020 timeout-minutes : ${{ github.ref == 'refs/heads/master' && 15 || 10 }}
2121 runs-on : ubuntu-latest
2222 steps :
23- - uses : actions/checkout@v4
23+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2424 with :
2525 submodules : recursive
26- - uses : dtolnay/rust-toolchain@stable
26+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
2727 - name : Install protoc
28- uses : arduino/setup-protoc@v3
28+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
2929 with :
3030 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
3131 version : " 23.x"
3232 repo-token : ${{ secrets.GITHUB_TOKEN }}
3333 - run : rustup component add rustfmt clippy
34- - uses : Swatinem/rust-cache@v2
34+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
3535 with :
3636 save-if : ${{ github.ref == 'refs/heads/master' }}
3737 - run : cargo fmt --all --check
@@ -63,10 +63,10 @@ jobs:
6363 timeoutMinutes : 20
6464 runs-on : ${{ matrix.runsOn || matrix.os }}
6565 steps :
66- - uses : actions/checkout@v4
67- - uses : dtolnay/rust-toolchain@stable
66+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
67+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
6868 - name : Install protoc
69- uses : arduino/setup-protoc@v3
69+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
7070 with :
7171 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
7272 version : " 23.x"
@@ -76,11 +76,11 @@ jobs:
7676 # Visual Studio bug tracker https://developercommunity.visualstudio.com/t/Regression-from-1943:-linkexe-crashes/10912960
7777 - name : Setup RUSTFLAGS (Windows)
7878 if : runner.os == 'Windows'
79- uses : actions/github-script@v7
79+ uses : actions/github-script@450193c5abd4cdb17ba9f3ffcfe8f635c4bb6c2a # v9
8080 with :
8181 script : |
8282 core.exportVariable('RUSTFLAGS', '-Csymbol-mangling-version=v0');
83- - uses : Swatinem/rust-cache@v2
83+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
8484 with :
8585 save-if : ${{ github.ref == 'refs/heads/master' }}
8686 - run : cargo test -- --include-ignored --nocapture
@@ -91,16 +91,16 @@ jobs:
9191 test_executable=$(cargo build --tests --message-format json | jq -r 'select(.profile?.test == true and .target?.name == "temporalio_sdk_core" and .executable) | .executable')
9292 cp $test_executable ./core-tests
9393 - name : Upload cgroup test executable
94- uses : actions/upload-artifact@v4
94+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
9595 if : runner.os == 'Linux' && runner.arch == 'X64'
9696 with :
9797 name : cgroup-tests-linux-x86_64
9898 path : ./core-tests
99- - uses : actions/upload-artifact@v4
99+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
100100 with :
101101 name : coverage-report
102102 path : tarpaulin-report.html
103- - uses : actions/upload-artifact@v4
103+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
104104 with :
105105 name : state-machine-coverage
106106 path : machine_coverage/
@@ -110,18 +110,18 @@ jobs:
110110 timeout-minutes : ${{ github.ref == 'refs/heads/master' && 15 || 10 }}
111111 runs-on : ubuntu-latest
112112 steps :
113- - uses : actions/checkout@v4
113+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
114114 with :
115115 submodules : recursive
116- - uses : dtolnay/rust-toolchain@stable
116+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
117117 - name : Install protoc
118- uses : arduino/setup-protoc@v3
118+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
119119 with :
120120 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
121121 version : " 23.x"
122122 repo-token : ${{ secrets.GITHUB_TOKEN }}
123123 - run : rustup component add rustfmt clippy
124- - uses : Swatinem/rust-cache@v2
124+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
125125 with :
126126 save-if : ${{ github.ref == 'refs/heads/master' }}
127127 key : msrv
@@ -140,7 +140,7 @@ jobs:
140140 CGROUP_TESTS_ENABLED : true
141141 steps :
142142 - name : Download cgroup test executable
143- uses : actions/download-artifact@v5
143+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
144144 with :
145145 name : cgroup-tests-linux-x86_64
146146 - name : Run tests
@@ -166,10 +166,10 @@ jobs:
166166 runsOn : macos-15-intel
167167 runs-on : ${{ matrix.runsOn || matrix.os }}
168168 steps :
169- - uses : actions/checkout@v4
170- - uses : dtolnay/rust-toolchain@stable
169+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
170+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
171171 - name : Install protoc
172- uses : arduino/setup-protoc@v3
172+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
173173 with :
174174 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
175175 version : " 23.x"
@@ -179,11 +179,11 @@ jobs:
179179 # Visual Studio bug tracker https://developercommunity.visualstudio.com/t/Regression-from-1943:-linkexe-crashes/10912960
180180 - name : Setup RUSTFLAGS (Windows)
181181 if : runner.os == 'Windows'
182- uses : actions/github-script@v7
182+ uses : actions/github-script@450193c5abd4cdb17ba9f3ffcfe8f635c4bb6c2a # v9
183183 with :
184184 script : |
185185 core.exportVariable('RUSTFLAGS', '-Csymbol-mangling-version=v0');
186- - uses : Swatinem/rust-cache@v2
186+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
187187 with :
188188 save-if : ${{ github.ref == 'refs/heads/master' }}
189189 - run : cargo integ-test
@@ -199,16 +199,16 @@ jobs:
199199 timeout-minutes : ${{ github.ref == 'refs/heads/master' && 25 || 20 }}
200200 runs-on : ubuntu-latest
201201 steps :
202- - uses : actions/checkout@v4
203- - uses : dtolnay/rust-toolchain@stable
202+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
203+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
204204 - name : Install protoc
205- uses : arduino/setup-protoc@v3
205+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
206206 with :
207207 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
208208 version : " 23.x"
209209 repo-token : ${{ secrets.GITHUB_TOKEN }}
210210
211- - uses : Swatinem/rust-cache@v2
211+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
212212 with :
213213 save-if : ${{ github.ref == 'refs/heads/master' }}
214214 - run : cargo test --features=test-utilities --test cloud_tests
@@ -224,19 +224,19 @@ jobs:
224224 timeout-minutes : ${{ github.ref == 'refs/heads/master' && 25 || 20 }}
225225 runs-on : ubuntu-latest
226226 steps :
227- - uses : actions/checkout@v4
228- - uses : dtolnay/rust-toolchain@stable
227+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
228+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
229229 - name : Install protoc
230- uses : arduino/setup-protoc@v3
230+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
231231 with :
232232 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
233233 version : " 23.x"
234234 repo-token : ${{ secrets.GITHUB_TOKEN }}
235235 - name : Start container for otel-collector and prometheus
236- uses : hoverkraft-tech/compose-action@v2.0.1
236+ uses : hoverkraft-tech/compose-action@4894d2492015c1774ee5a13a95b1072093087ec3 # v2.5.0
237237 with :
238238 compose-file : ./etc/docker/docker-compose-ci.yaml
239- - uses : Swatinem/rust-cache@v2
239+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
240240 with :
241241 save-if : ${{ github.ref == 'refs/heads/master' }}
242242 - run : cargo integ-test docker_
@@ -246,20 +246,20 @@ jobs:
246246 timeout-minutes : 15
247247 runs-on : ubuntu-latest
248248 steps :
249- - uses : actions/checkout@v4
250- - uses : dtolnay/rust-toolchain@stable
249+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
250+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
251251 - name : Install protoc
252- uses : arduino/setup-protoc@v3
252+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
253253 with :
254254 version : " 23.x"
255255 repo-token : ${{ secrets.GITHUB_TOKEN }}
256- - uses : Swatinem/rust-cache@v2
256+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
257257 with :
258258 save-if : ${{ github.ref == 'refs/heads/master' }}
259259 - name : Build examples
260260 run : cargo build --examples -p temporalio-sdk --features examples
261261 - name : Install Temporal CLI
262- uses : temporalio/setup-temporal@v0
262+ uses : temporalio/setup-temporal@1059a504f87e7fa2f385e3fa40d1aa7e62f1c6ca # v0
263263 - name : Start Temporal dev server
264264 run : |
265265 temporal server start-dev --headless &
@@ -281,10 +281,10 @@ jobs:
281281 name : " C bridge static link test"
282282 runs-on : ubuntu-latest
283283 steps :
284- - uses : actions/checkout@v4
285- - uses : dtolnay/rust-toolchain@stable
284+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
285+ - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
286286 - name : Install protoc
287- uses : arduino/setup-protoc@v3
287+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
288288 with :
289289 # TODO: Upgrade proto once https://github.com/arduino/setup-protoc/issues/99 is fixed
290290 version : " 23.x"
0 commit comments