Skip to content

Commit c06178b

Browse files
authored
Enable build scans for all jobs on CI and nightly flows (#7778)
Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1213360779751566?focus=true ### Description Adds Develocity build scan support to the CI jobs that we missed originally. ### Steps to test this PR No QA needed ### UI changes No UI changes <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Workflow-only change that adds an env var from secrets; risk is limited to CI behavior and secret availability/misconfiguration. > > **Overview** > Enables Develocity build scan support across CI and nightly GitHub Actions by exporting `DEVELOCITY_ACCESS_KEY` from secrets into the `code_formatting`, `unit_tests`, and `lint` jobs. > > This makes those Gradle tasks run with the same build-scan credentials as the other workflows/jobs, without changing any build logic or tasks executed. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9068256. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent a5437ad commit c06178b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
code_formatting:
2323
name: Code Formatting
2424
runs-on: ubuntu-24.04
25+
env:
26+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
2527

2628
steps:
2729
- name: Checkout repository
@@ -47,6 +49,8 @@ jobs:
4749
unit_tests:
4850
name: Unit tests
4951
runs-on: android-large-runner
52+
env:
53+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
5054

5155
steps:
5256
- name: Checkout repository
@@ -82,6 +86,8 @@ jobs:
8286
lint:
8387
name: Lint
8488
runs-on: android-large-runner
89+
env:
90+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
8591

8692
steps:
8793
- name: Checkout repository

.github/workflows/nightly.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
code_formatting:
2323
name: Code Formatting
2424
runs-on: android-large-runner
25+
env:
26+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
2527

2628
steps:
2729
- name: Checkout repository
@@ -48,6 +50,8 @@ jobs:
4850
unit_tests:
4951
name: Unit tests
5052
runs-on: android-large-runner
53+
env:
54+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
5155

5256
steps:
5357
- name: Checkout repository
@@ -84,6 +88,8 @@ jobs:
8488
lint:
8589
name: Lint
8690
runs-on: android-large-runner
91+
env:
92+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
8793

8894
steps:
8995
- name: Checkout repository

0 commit comments

Comments
 (0)