Skip to content

Commit 1184cda

Browse files
Merge branch 'release/5.246.0'
2 parents 1d588b8 + 97a9085 commit 1184cda

File tree

272 files changed

+12590
-1049
lines changed

Some content is hidden

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

272 files changed

+12590
-1049
lines changed

.github/actionlint.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
self-hosted-runner:
2+
labels:
3+
# Stops incorrect warning of android-large-runner being used
4+
- android-large-runner

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
- name: Decode secret
142142
env:
143143
FLANK: ${{ secrets.FLANK }}
144-
run: echo $FLANK > flank.json
144+
run: echo "$FLANK" > flank.json
145145

146146
- name: Setup Gradle
147147
uses: gradle/actions/setup-gradle@v3
@@ -173,7 +173,7 @@ jobs:
173173
174174
- name: Run Android Tests
175175
if: steps.check-alignment.outcome == 'success'
176-
run: ./gradlew runFlankAndroidTests
176+
run: ./gradlew runFlankAndroidTests --no-configuration-cache
177177

178178
- name: Bundle the Android CI tests report
179179
if: |
@@ -185,7 +185,7 @@ jobs:
185185
if: |
186186
failure() &&
187187
steps.check-alignment.outcome == 'success'
188-
run: cat build/fladle/fladleResults/HtmlErrorReport.html | cut -d\` -f2 >> results.json
188+
run: cut -d\` -f2 < build/fladle/fladleResults/HtmlErrorReport.html >> results.json
189189

190190
- name: Print failure report
191191
if: |

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: gradle/actions/setup-gradle@v3
4242

4343
- name: Execute Gradle build
44-
run: ./gradlew dokkaHtmlMultiModule
44+
run: ./gradlew dokkaHtmlMultiModule --no-configuration-cache # Dokka 1.8.20 is not compatible with configuration cache. 2.x is.
4545

4646
- name: Copy files
4747
run: |

.github/workflows/external-css-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Decode secret
5050
env:
5151
FLANK: ${{ secrets.FLANK }}
52-
run: echo $FLANK > flank.json
52+
run: echo "$FLANK" > flank.json
5353

5454
- name: Setup Gradle
5555
uses: gradle/actions/setup-gradle@v3
@@ -58,15 +58,15 @@ jobs:
5858
run: ./gradlew androidTestsBuild
5959

6060
- name: Run Android Tests
61-
run: ./gradlew runFlankPrivacyTests
61+
run: ./gradlew runFlankPrivacyTests --no-configuration-cache
6262

6363
- name: Bundle the Android CI tests report
6464
if: always()
6565
run: find . -type d -name 'fladleResults' | zip -@ -r android-tests-report.zip
6666

6767
- name: Generate json file with failures
6868
if: ${{ failure() }}
69-
run: cat build/fladle/fladleResults/HtmlErrorReport.html | cut -d\` -f2 >> results.json
69+
run: cut -d\` -f2 < build/fladle/fladleResults/HtmlErrorReport.html >> results.json
7070

7171
- name: Print failure report
7272
if: ${{ failure() }}

.github/workflows/external-ref-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Decode secret
9090
env:
9191
FLANK: ${{ secrets.FLANK }}
92-
run: echo $FLANK > flank.json
92+
run: echo "$FLANK" > flank.json
9393

9494
- name: Setup Gradle
9595
uses: gradle/actions/setup-gradle@v3
@@ -98,15 +98,15 @@ jobs:
9898
run: ./gradlew androidTestsBuild
9999

100100
- name: Run Android Tests
101-
run: ./gradlew runFlankAndroidTests
101+
run: ./gradlew runFlankAndroidTests --no-configuration-cache
102102

103103
- name: Bundle the Android CI tests report
104104
if: always()
105105
run: find . -type d -name 'fladleResults' | zip -@ -r android-tests-report.zip
106106

107107
- name: Generate json file with failures
108108
if: ${{ failure() }}
109-
run: cat build/fladle/fladleResults/HtmlErrorReport.html | cut -d\` -f2 >> results.json
109+
run: cut -d\` -f2 < build/fladle/fladleResults/HtmlErrorReport.html >> results.json
110110

111111
- name: Print failure report
112112
if: ${{ failure() }}

.github/workflows/nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
- name: Decode secret
133133
env:
134134
FLANK: ${{ secrets.FLANK }}
135-
run: echo $FLANK > flank.json
135+
run: echo "$FLANK" > flank.json
136136

137137
- name: Setup Gradle
138138
uses: gradle/actions/setup-gradle@v3
@@ -141,15 +141,15 @@ jobs:
141141
run: ./gradlew androidTestsBuild
142142

143143
- name: Run Android Tests
144-
run: ./gradlew runFlankAndroidTests
144+
run: ./gradlew runFlankAndroidTests --no-configuration-cache
145145

146146
- name: Bundle the Android CI tests report
147147
if: always()
148148
run: find . -type d -name 'fladleResults' | zip -@ -r android-tests-report.zip
149149

150150
- name: Generate json file with failures
151151
if: ${{ failure() }}
152-
run: cat build/fladle/fladleResults/HtmlErrorReport.html | cut -d\` -f2 >> results.json
152+
run: cut -d\` -f2 < build/fladle/fladleResults/HtmlErrorReport.html >> results.json
153153

154154
- name: Print failure report
155155
if: ${{ failure() }}

.github/workflows/privacy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Decode secret
5050
env:
5151
FLANK: ${{ secrets.FLANK }}
52-
run: echo $FLANK > flank.json
52+
run: echo "$FLANK" > flank.json
5353

5454
- name: Setup Gradle
5555
uses: gradle/actions/setup-gradle@v3
@@ -58,15 +58,15 @@ jobs:
5858
run: ./gradlew androidTestsBuild
5959

6060
- name: Run Android Tests
61-
run: ./gradlew runFlankPrivacyTests
61+
run: ./gradlew runFlankPrivacyTests --no-configuration-cache
6262

6363
- name: Bundle the Android CI tests report
6464
if: always()
6565
run: find . -type d -name 'fladleResults' | zip -@ -r android-tests-report.zip
6666

6767
- name: Generate json file with failures
6868
if: ${{ failure() }}
69-
run: cat build/fladle/fladleResults/HtmlErrorReport.html | cut -d\` -f2 >> results.json
69+
run: cut -d\` -f2 < build/fladle/fladleResults/HtmlErrorReport.html >> results.json
7070

7171
- name: Print failure report
7272
if: ${{ failure() }}

.github/workflows/release_nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
if: steps.check_for_changes.outputs.has_changes == 'true'
111111
id: generate_version_name
112112
run: |
113-
output=$(./gradlew getBuildVersionName -PversionNameSuffix=-nightly -PlatestTag=${{ steps.get_latest_tag.outputs.latest_tag }} --quiet | tail -n 1)
113+
output=$(./gradlew --no-configuration-cache getBuildVersionName -PversionNameSuffix=-nightly -PlatestTag=${{ steps.get_latest_tag.outputs.latest_tag }} --quiet | tail -n 1)
114114
echo "version=$output" >> $GITHUB_OUTPUT
115115
116116
- name: Capture App Bundle Path

.github/workflows/release_tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,8 @@ jobs:
155155
mattermost-team-id: ${{ secrets.MM_TEAM_ID }}
156156
mattermost-channel-name: ${{ vars.MM_RELEASE_NOTIFY_CHANNEL }}
157157
mattermost-message: |
158-
${{env.emoji_success}} Release ${{ github.event.inputs.app-version }}: Tests for for tag ${{ github.event.inputs.test-tag }} PASSED successfully.
158+
${{env.emoji_success}} Release ${{ github.event.inputs.app-version }}: Tests for tag ${{ github.event.inputs.test-tag }} PASSED successfully.
159159
Console: ${{ steps.release-tests.outputs.MAESTRO_CLOUD_CONSOLE_URL }}
160-
Flow Results: json ${{ steps.release-tests.outputs.MAESTRO_CLOUD_FLOW_RESULTS }}
161160
162161
- name: Notify Mattermost - Maestro Tests FAILURES or ISSUES DETECTED
163162
# Condition: Our script detected 'failure' OR the Maestro action itself reported failure
@@ -171,7 +170,6 @@ jobs:
171170
mattermost-message: |
172171
${{env.emoji_failure}} Release ${{ github.event.inputs.app-version }}: Tests for tag ${{ github.event.inputs.test-tag }} FAILED or encountered issues.
173172
Console: ${{ steps.release-tests.outputs.MAESTRO_CLOUD_CONSOLE_URL }}
174-
Flow Results: json ${{ steps.release-tests.outputs.MAESTRO_CLOUD_FLOW_RESULTS }}
175173
176174
- name: Notify Mattermost - Maestro Tests CANCELED Flows Present (Informational or Warning)
177175
# Condition: Our script detected 'canceled_present' AND no critical 'failure' was found
@@ -186,7 +184,6 @@ jobs:
186184
mattermost-message: |
187185
:warning: Release ${{ github.event.inputs.app-version }}: Some tests for tag ${{ github.event.inputs.test-tag }} were CANCELED. Please review.
188186
Console: ${{ steps.release-tests.outputs.MAESTRO_CLOUD_CONSOLE_URL }}
189-
Flow Results: json ${{ steps.release-tests.outputs.MAESTRO_CLOUD_FLOW_RESULTS }}
190187
191188
- name: Create Asana task when workflow failed
192189
if: ${{ failure() }}

.github/workflows/validate_workflows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ jobs:
2626
github_token: ${{ secrets.GT_DAXMOBILE }}
2727
reporter: github-pr-review
2828
level: warning
29-
fail_level: warning
29+
fail_level: warning
30+
actionlint_flags: --config-file .github/actionlint.yaml

0 commit comments

Comments
 (0)