@@ -28,18 +28,18 @@ jobs:
2828 working-directory : ./client-sdk-android
2929 steps :
3030 - name : checkout client-sdk-android
31- uses : actions/checkout@v4 .0.0
31+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
3232 with :
3333 path : ./client-sdk-android
3434 submodules : recursive
3535
3636 - name : set up JDK 17
37- uses : actions/setup-java@v4
37+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
3838 with :
3939 java-version : ' 17'
4040 distribution : ' adopt'
4141
42- - uses : actions/cache@v4
42+ - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
4343 with :
4444 path : |
4545 ~/.gradle/caches
6262 run : ./gradlew assembleRelease livekit-android-test:testRelease
6363
6464 - name : Upload AAR
65- uses : actions/upload-artifact@v6
65+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
6666 with :
6767 name : livekit-android-sdk-release.aar
6868 path : client-sdk-android/livekit-android-sdk/build/outputs/aar/livekit-android-sdk-release.aar
@@ -187,7 +187,7 @@ jobs:
187187 # Setting up diffuse artifacts
188188 - name : Setup cache for base source file for diffuse
189189 if : github.event_name == 'push'
190- uses : actions/cache@v4
190+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
191191 with :
192192 path : client-sdk-android/diffuse-source-file
193193 key : diffuse-${{ github.sha }}
@@ -200,7 +200,7 @@ jobs:
200200
201201 - name : Repository Dispatch
202202 if : github.event_name == 'push'
203- uses : peter-evans/repository-dispatch@v2
203+ uses : peter-evans/repository-dispatch@bf47d102fdb849e755b0b0023ea3e81a44b6f570 # v2.1.2
204204 with :
205205 token : ${{ secrets.E2E_DISPATCH_TOKEN }}
206206 repository : livekit/e2e-android
@@ -213,26 +213,26 @@ jobs:
213213 name : Diffuse checker
214214 needs : build
215215 steps :
216- - uses : actions/setup-java@v4
216+ - uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
217217 with :
218218 java-version : ' 17'
219219 distribution : ' adopt'
220220
221221 # Diffuse checking for pull requests
222- - uses : actions/cache@v4
222+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
223223 name : Download base source AAR for diffuse
224224 with :
225225 path : client-sdk-android/diffuse-source-file
226226 key : diffuse-${{ github.event.pull_request.base.sha }}
227227
228- - uses : actions/download-artifact@v5
228+ - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
229229 name : Download current release AAR for diffuse
230230 with :
231231 name : livekit-android-sdk-release.aar
232232 path : client-sdk-android/
233233
234234 - id : diffuse
235- uses : usefulness/diffuse-action@v1
235+ uses : usefulness/diffuse-action@41995fe8ff6be0a8847e63bdc5a4679c704b455c # v0.11.0
236236 with :
237237 old-file-path : client-sdk-android/diffuse-source-file
238238 new-file-path : client-sdk-android/livekit-android-sdk-release.aar
@@ -244,14 +244,14 @@ jobs:
244244
245245 # Consuming diffuse action output
246246
247- - uses : peter-evans/find-comment@v4
247+ - uses : peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0
248248 if : github.event.pull_request.head.repo.full_name == github.repository
249249 id : find_comment
250250 with :
251251 issue-number : ${{ github.event.pull_request.number }}
252252 body-includes : Diffuse output
253253
254- - uses : peter-evans/create-or-update-comment@v5
254+ - uses : peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
255255 if : github.event.pull_request.head.repo.full_name == github.repository && (steps.diffuse.outputs.diff-raw != null || steps.find_comment.outputs.comment-id != null)
256256 with :
257257 body : |
@@ -263,7 +263,7 @@ jobs:
263263 issue-number : ${{ github.event.pull_request.number }}
264264 token : ${{ secrets.GITHUB_TOKEN }}
265265
266- - uses : actions/upload-artifact@v6
266+ - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
267267 with :
268268 name : diffuse-output
269269 path : ${{ steps.diffuse.outputs.diff-file }}
0 commit comments