Skip to content

Commit c73473f

Browse files
authored
Merge pull request #1189 from square/renovate/pin-dependencies
Pin dependencies
2 parents d2ecb1b + 2e71976 commit c73473f

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

.github/actions/gradle-task/action.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs :
2626
steps :
2727

2828
- name : Set up JDK
29-
uses : actions/setup-java@v3
29+
uses : actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3
3030
with :
3131
distribution : ${{inputs.distribution}}
3232
java-version : ${{inputs.java-version}}
@@ -36,7 +36,7 @@ runs :
3636
uses : ./.github/actions/gradle-args
3737

3838
- name : Gradle build action
39-
uses : gradle/gradle-build-action@v2
39+
uses : gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2
4040
with :
4141
cache-read-only : false
4242
gradle-home-cache-cleanup : true
@@ -59,7 +59,7 @@ runs :
5959
- name : restore cache for ${{inputs.write-cache-key}}
6060
id : restore-write-cache
6161
if : inputs.write-cache-key != 'null'
62-
uses : actions/cache/restore@v4
62+
uses : actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
6363
with :
6464
path : |
6565
~/.gradle/caches/build-cache-1
@@ -77,7 +77,7 @@ runs :
7777
# Skipped if the restore-cache-key wasn't set, or if the write-cache-key restore had an exact match.
7878
- name : restore cache for ${{inputs.restore-cache-key}}
7979
if : inputs.restore-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
80-
uses : actions/cache/restore@v4
80+
uses : actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
8181
with :
8282
path : |
8383
~/.gradle/caches/build-cache-1
@@ -91,11 +91,11 @@ runs :
9191
${{runner.os}}-${{inputs.restore-cache-key}}-${{steps.hashes.outputs.lib_versions}}
9292
${{runner.os}}-${{inputs.restore-cache-key}}
9393
94-
- uses : gradle/wrapper-validation-action@v1
94+
- uses : gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1
9595

9696
# Run the actual task. Note that this still uses gradle-build-action for more fine-grained caching.
9797
- name : Run ${{inputs.task}}
98-
uses : gradle/gradle-build-action@v2
98+
uses : gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2
9999
with :
100100
# These arguments need to be on a single line. If they're defined with wrapping (using `|`),
101101
# something along the way to the actual CLI invocation gets confused and the jvmargs list
@@ -110,7 +110,7 @@ runs :
110110
# Windows runners are welcome to *read* the cross-OS cache, but the directories get weird if
111111
# they try to write to it.
112112
- name : save the '${{inputs.write-cache-key}}' cache
113-
uses : actions/cache/save@v4
113+
uses : actions/cache/save@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
114114
id : save-write-cache-key
115115
if : inputs.write-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
116116
with :
@@ -123,7 +123,7 @@ runs :
123123

124124
- name : Upload heap dump
125125
if : failure()
126-
uses : actions/upload-artifact@v3
126+
uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
127127
with :
128128
name : heap-dump
129129
path : ${{github.workspace}}/**/*{.hprof,.log}

.github/actions/gradle-tasks-with-emulator/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs :
5353

5454
# Get the AVD if it's already cached.
5555
- name : AVD cache
56-
uses : actions/cache/restore@v4
56+
uses : actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
5757
id : restore-avd-cache
5858
with :
5959
path : |
@@ -64,7 +64,7 @@ runs :
6464
# If the AVD cache didn't exist, create an AVD
6565
- name : create AVD and generate snapshot for caching
6666
if : steps.restore-avd-cache.outputs.cache-hit != 'true'
67-
uses : reactivecircus/android-emulator-runner@v2
67+
uses : reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2
6868
with :
6969
api-level : ${{ inputs.api-level }}
7070
arch : x86_64
@@ -80,7 +80,7 @@ runs :
8080
- name : cache new AVD before tests
8181
if : steps.restore-avd-cache.outputs.cache-hit != 'true'
8282
id : save-avd-cache
83-
uses : actions/cache/save@v4
83+
uses : actions/cache/save@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
8484
with :
8585
path : |
8686
~/.android/avd/*
@@ -90,7 +90,7 @@ runs :
9090
# Run the actual emulator tests.
9191
# At this point every task should be up-to-date and the AVD should be ready to go.
9292
- name : run tests
93-
uses : reactivecircus/android-emulator-runner@v2
93+
uses : reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2
9494
with :
9595
api-level : ${{ inputs.api-level }}
9696
arch : x86_64
@@ -102,7 +102,7 @@ runs :
102102

103103
- name : Upload results
104104
if : ${{ always() }}
105-
uses : actions/upload-artifact@v3
105+
uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
106106
with :
107107
name : instrumentation-test-results
108108
path : ./**/build/reports/androidTests/connected/**

.github/workflows/kotlin.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs :
183183

184184
# Report as GitHub Pull Request Check.
185185
- name : Publish Test Report
186-
uses : mikepenz/action-junit-report@v3
186+
uses : mikepenz/action-junit-report@150e2f992e4fad1379da2056d1d1c279f520e058 # v3
187187
if : always() # always run even if the previous step fails
188188
with :
189189
report_paths : '**/build/test-results/test/TEST-*.xml'
@@ -222,7 +222,7 @@ jobs :
222222

223223
# Report as GitHub Pull Request Check.
224224
- name : Publish Test Report
225-
uses : mikepenz/action-junit-report@v3
225+
uses : mikepenz/action-junit-report@150e2f992e4fad1379da2056d1d1c279f520e058 # v3
226226
if : always() # always run even if the previous step fails
227227
with :
228228
report_paths : '**/build/test-results/test/TEST-*.xml'
@@ -244,7 +244,7 @@ jobs :
244244

245245
# Report as GitHub Pull Request Check.
246246
- name : Publish Test Report
247-
uses : mikepenz/action-junit-report@v3
247+
uses : mikepenz/action-junit-report@150e2f992e4fad1379da2056d1d1c279f520e058 # v3
248248
if : always() # always run even if the previous step fails
249249
with :
250250
report_paths : '**/build/test-results/test/TEST-*.xml'
@@ -266,7 +266,7 @@ jobs :
266266

267267
# Report as GitHub Pull Request Check.
268268
- name : Publish Test Report
269-
uses : mikepenz/action-junit-report@v3
269+
uses : mikepenz/action-junit-report@150e2f992e4fad1379da2056d1d1c279f520e058 # v3
270270
if : always() # always run even if the previous step fails
271271
with :
272272
report_paths : '**/build/test-results/test/TEST-*.xml'
@@ -288,7 +288,7 @@ jobs :
288288

289289
# Report as GitHub Pull Request Check.
290290
- name : Publish Test Report
291-
uses : mikepenz/action-junit-report@v3
291+
uses : mikepenz/action-junit-report@150e2f992e4fad1379da2056d1d1c279f520e058 # v3
292292
if : always() # always run even if the previous step fails
293293
with :
294294
report_paths : '**/build/test-results/test/TEST-*.xml'
@@ -312,7 +312,7 @@ jobs :
312312

313313
# Report as GitHub Pull Request Check.
314314
- name : Publish Test Report
315-
uses : mikepenz/action-junit-report@v3
315+
uses : mikepenz/action-junit-report@150e2f992e4fad1379da2056d1d1c279f520e058 # v3
316316
if : always() # always run even if the previous step fails
317317
with :
318318
report_paths : '**/build/test-results/test/TEST-*.xml'

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
15-
- uses: gradle/wrapper-validation-action@v1
15+
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1
1616

1717
- name: Ensure this isn't a -SNAPSHOT version
1818
uses: ./.github/actions/gradle-task

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
18-
- uses: gradle/wrapper-validation-action@v1
18+
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1
1919

2020
- name: Check for -SNAPSHOT version
2121
uses: ./.github/actions/gradle-task

0 commit comments

Comments
 (0)