Skip to content

Commit 74bcca8

Browse files
committed
chore: pin all third party github actions
1 parent fc63aa1 commit 74bcca8

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/cross-platform-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
distribution: "zulu"
2323
java-version: "11"
2424
- name: "Run Crossplatform Tests"
25-
uses: reactivecircus/android-emulator-runner@v2.26.0
25+
uses: reactivecircus/android-emulator-runner@b35b1c6e6921ebfd3f980c2236ac298f019df53a #v2.28.0
2626
with:
2727
api-level: 29
2828
script: ./gradlew runAndroid

.github/workflows/daily.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- name: "Cancel workflow"
3232
if: ${{ github.repository != 'mParticle/mparticle-android-sdk' }}
33-
uses: andymckay/cancel-action@0.2
33+
uses: andymckay/cancel-action@435124153eb37d6a62a29d053a7e449652f89d51
3434

3535
create-regression-branch:
3636
name: "Create Regression Branch"
@@ -50,7 +50,7 @@ jobs:
5050
ref: ${{ inputs.branch_name }}
5151
submodules: recursive
5252
- name: "Import GPG Key"
53-
uses: crazy-max/ghaction-import-gpg@v5
53+
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef #v6.0
5454
with:
5555
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
5656
passphrase: ${{ secrets.GPG_PASSPHRASE }}
@@ -86,7 +86,7 @@ jobs:
8686
java-version: "11"
8787
cache: "gradle"
8888
- name: "Run Instrumented Tests"
89-
uses: reactivecircus/android-emulator-runner@v2.26.0
89+
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0
9090
with:
9191
api-level: 29
9292
script: ./gradlew :android-core:cAT :android-kit-base:cAT --stacktrace
@@ -115,7 +115,7 @@ jobs:
115115
java-version: "11"
116116
cache: "gradle"
117117
- name: "Run Instrumented Orchestrator Tests"
118-
uses: reactivecircus/android-emulator-runner@v2.26.0
118+
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0
119119
with:
120120
api-level: 29
121121
script: ./gradlew -Porchestrator=true :android-core:cAT --stacktrace
@@ -146,7 +146,7 @@ jobs:
146146
- name: "Run Unit Tests"
147147
run: ./gradlew test
148148
- name: "Print Android Unit Tests Report"
149-
uses: asadmansr/android-test-report-action@v1.2.0
149+
uses: asadmansr/android-test-report-action@384cd31388782f4106dc4a1b37eea2ff02e0aad7 #v1.2.0
150150
if: always()
151151
- name: "Archive Unit Test Results"
152152
uses: actions/upload-artifact@v3

.github/workflows/pull-request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
distribution: "zulu"
1818
java-version: "11"
1919
- name: Gradle cache
20-
uses: gradle/gradle-build-action@v2
20+
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a #v2.9.0
2121
- name: AVD cache
2222
uses: actions/cache@v3
2323
id: avd-cache
@@ -28,15 +28,15 @@ jobs:
2828
key: avd-29
2929
- name: create AVD and generate snapshot for caching
3030
if: steps.avd-cache.outputs.cache-hit != 'true'
31-
uses: reactivecircus/android-emulator-runner@v2
31+
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0
3232
with:
3333
api-level: 29
3434
force-avd-creation: false
3535
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
3636
disable-animations: false
3737
script: echo "Generated AVD snapshot for caching."
3838
- name: "Run Instrumented Tests"
39-
uses: reactivecircus/android-emulator-runner@v2.26.0
39+
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0
4040
with:
4141
api-level: 29
4242
force-avd-creation: false
@@ -63,7 +63,7 @@ jobs:
6363
distribution: "zulu"
6464
java-version: "11"
6565
- name: Gradle cache
66-
uses: gradle/gradle-build-action@v2
66+
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a #v2.9.0
6767
- name: AVD cache
6868
uses: actions/cache@v3
6969
id: avd-cache
@@ -74,15 +74,15 @@ jobs:
7474
key: avd-29
7575
- name: create AVD and generate snapshot for caching
7676
if: steps.avd-cache.outputs.cache-hit != 'true'
77-
uses: reactivecircus/android-emulator-runner@v2
77+
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0
7878
with:
7979
api-level: 29
8080
force-avd-creation: false
8181
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8282
disable-animations: false
8383
script: echo "Generated AVD snapshot for caching."
8484
- name: "Run Instrumented Orchestrator Tests"
85-
uses: reactivecircus/android-emulator-runner@v2.26.0
85+
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #v2.28.0
8686
with:
8787
api-level: 29
8888
force-avd-creation: false
@@ -110,7 +110,7 @@ jobs:
110110
- name: "Run Unit Tests"
111111
run: ./gradlew test
112112
- name: "Print Android Unit Tests Report"
113-
uses: asadmansr/android-test-report-action@v1.2.0
113+
uses: asadmansr/android-test-report-action@384cd31388782f4106dc4a1b37eea2ff02e0aad7 #v1.2.0
114114
if: always()
115115
- name: "Archive Unit Test Results"
116116
uses: actions/upload-artifact@v3

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
ref: development
3434
submodules: recursive
3535
- name: "Import GPG Key"
36-
uses: crazy-max/ghaction-import-gpg@v5
36+
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef #v6.0
3737
with:
3838
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3939
passphrase: ${{ secrets.GPG_PASSPHRASE }}
@@ -78,7 +78,7 @@ jobs:
7878
fetch-depth: 0
7979
ref: main
8080
- name: "Import GPG Key"
81-
uses: crazy-max/ghaction-import-gpg@v5
81+
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef #v6.0
8282
with:
8383
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
8484
passphrase: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)