Skip to content

Commit 1633f4c

Browse files
authored
Merge branch 'main' into wenli/improve-visualizer
2 parents 82eae8b + a4dae10 commit 1633f4c

File tree

71 files changed

+1548
-766
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1548
-766
lines changed

.buildscript/deploy_snapshot.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ runs:
7575
7676
- name: commit ${{ inputs.fix-task }} changes
7777
if: steps.can-push.outputs.can_push == 'true'
78-
uses: stefanzweifel/git-auto-commit-action@v6
78+
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6
7979
with:
8080
commit_message: ${{ steps.set-commit-message.outputs.commit-message }}
8181
commit_options: '--no-verify --signoff'

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
run: ./gradlew tasks
3737

3838
- name: Set up JDK
39-
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
39+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
4040
with:
4141
distribution: ${{inputs.distribution}}
4242
java-version: ${{inputs.java-version}}
@@ -46,7 +46,7 @@ runs:
4646
uses: ./.github/actions/gradle-args
4747

4848
- name: Gradle build action
49-
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3
49+
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3
5050
with:
5151
cache-read-only: false
5252
gradle-home-cache-cleanup: true
@@ -69,7 +69,7 @@ runs:
6969
- name: restore cache for ${{inputs.write-cache-key}}
7070
id: restore-write-cache
7171
if: inputs.write-cache-key != 'null'
72-
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
72+
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4
7373
with:
7474
path: |
7575
~/.gradle/caches/build-cache-1
@@ -87,7 +87,7 @@ runs:
8787
# Skipped if the restore-cache-key wasn't set, or if the write-cache-key restore had an exact match.
8888
- name: restore cache for ${{inputs.restore-cache-key}}
8989
if: inputs.restore-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
90-
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
90+
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4
9191
with:
9292
path: |
9393
~/.gradle/caches/build-cache-1
@@ -101,11 +101,11 @@ runs:
101101
${{runner.os}}-${{inputs.restore-cache-key}}-${{steps.hashes.outputs.lib_versions}}
102102
${{runner.os}}-${{inputs.restore-cache-key}}
103103
104-
- uses: gradle/wrapper-validation-action@699bb18358f12c5b78b37bb0111d3a0e2276e0e2 # v2
104+
- uses: gradle/actions/wrapper-validation@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
105105

106106
# Run the actual task. Note that this still uses gradle-build-action for more fine-grained caching.
107107
- name: Run ${{inputs.task}}
108-
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3
108+
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3
109109
with:
110110
# These arguments need to be on a single line. If they're defined with wrapping (using `|`),
111111
# something along the way to the actual CLI invocation gets confused and the jvmargs list
@@ -120,7 +120,7 @@ runs:
120120
# Windows runners are welcome to *read* the cross-OS cache, but the directories get weird if
121121
# they try to write to it.
122122
- name: save the '${{inputs.write-cache-key}}' cache
123-
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
123+
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4
124124
id: save-write-cache-key
125125
if: inputs.write-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
126126
with:
@@ -133,21 +133,21 @@ runs:
133133

134134
- name: Upload Any Logs
135135
if: failure()
136-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
136+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
137137
with:
138138
name: log-upload
139139
path: ${{github.workspace}}/**/*.log
140140

141141
- name: Upload Any Heap Dumps
142142
if: failure()
143-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
143+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
144144
with:
145145
name: hprof-upload
146146
path: ${{github.workspace}}/**/*.hprof
147147

148148
- name: Upload Any Specified Files
149149
if: failure() && inputs.failure-path-upload != 'null'
150-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
150+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
151151
with:
152152
name: specified-upload
153153
path: ${{github.workspace}}/${{inputs.failure-path-upload}}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ runs:
5656

5757
# Get the AVD if it's already cached.
5858
- name: AVD cache
59-
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
59+
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4
6060
id: restore-avd-cache
6161
with:
6262
path: |
@@ -67,7 +67,7 @@ runs:
6767
# If the AVD cache didn't exist, create an AVD
6868
- name: create AVD and generate snapshot for caching
6969
if: steps.restore-avd-cache.outputs.cache-hit != 'true'
70-
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # v2
70+
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # v2
7171
with:
7272
api-level: ${{ inputs.api-level }}
7373
arch: x86_64
@@ -83,7 +83,7 @@ runs:
8383
- name: cache new AVD before tests
8484
if: steps.restore-avd-cache.outputs.cache-hit != 'true'
8585
id: save-avd-cache
86-
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
86+
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4
8787
with:
8888
path: |
8989
~/.android/avd/*
@@ -93,7 +93,7 @@ runs:
9393
# Run the actual emulator tests.
9494
# At this point every task should be up-to-date and the AVD should be ready to go.
9595
- name: run tests
96-
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # v2
96+
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # v2
9797
with:
9898
api-level: ${{ inputs.api-level }}
9999
arch: x86_64
@@ -105,21 +105,21 @@ runs:
105105

106106
- name: Upload Any Logs
107107
if: failure()
108-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
108+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
109109
with:
110110
name: log-upload
111111
path: ${{github.workspace}}/**/*.log
112112

113113
- name: Upload Any Heap Dumps
114114
if: failure()
115-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
115+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
116116
with:
117117
name: hprof-upload
118118
path: ${{github.workspace}}/**/*.hprof
119119

120120
- name: Upload Any Specified Files
121121
if: failure() && inputs.failure-path-upload != 'null'
122-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
122+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
123123
with:
124124
name: specified-upload
125125
path: ${{github.workspace}}/${{inputs.failure-path-upload}}

0 commit comments

Comments
 (0)