Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/r8_regression_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,17 @@ jobs:
echo "passed=false" >> "${GITHUB_OUTPUT}"
fi

- name: Report Third-Party Library Keep Ratios
continue-on-error: true
env:
SAVE_BASELINE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.app_r8_gate.outputs.passed == 'true' && steps.lib_r8_gate.outputs.passed == 'true' }}
run: |
args=(--markdown-summary "${RUNNER_TEMP}/r8_summary.md" --append-summary)
if [[ "${SAVE_BASELINE}" == "true" ]]; then
args+=(--save-baseline)
fi
python3 ./scripts/report_library_keep_ratios.py "${args[@]}"

- name: Update R8 Baseline on Merge to main
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.app_r8_gate.outputs.passed == 'true' && steps.lib_r8_gate.outputs.passed == 'true'
run: |
Expand All @@ -164,8 +175,8 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.app_r8_gate.outputs.passed == 'true' && steps.lib_r8_gate.outputs.passed == 'true'
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5
with:
commit_message: "🤖 Update r8-baseline.json after merge [skip ci]"
file_pattern: 'r8-baseline.json'
commit_message: "🤖 Update the R8 baselines after merge [skip ci]"
file_pattern: 'r8-baseline.json third-party-keep-ratios.json'

- name: Post Findings on Pull Request
if: steps.context.outputs.pr_number != '' && always()
Expand Down
1 change: 1 addition & 0 deletions feature/camera/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies {
implementation(libs.coil.compose)
implementation(libs.kotlinx.coroutines.play.services)
implementation(libs.mlkit.pose.detection)
implementation(libs.androidx.work.runtime.ktx)
implementation(libs.guava)
implementation(libs.timber)
ksp(libs.hilt.compiler)
Expand Down
Loading
Loading