summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-02 13:31:30 +0100
committerDanilo M. <danix@danix.xyz>2026-11-02 13:31:30 +0100
commitf78754e26c6274f997bbfe0798f47aa86f8f8133 (patch)
treeb232000eafbb4b143a63b66e2930a1064b59a494 /.github/workflows
parent5972d8bb6ab2369e298be0e6641d92ab8f1b2f7a (diff)
downloadHardenedPass-f78754e26c6274f997bbfe0798f47aa86f8f8133.tar.gz
HardenedPass-f78754e26c6274f997bbfe0798f47aa86f8f8133.zip
build: drop the nonFree flavor, Sentry and Play Services
The fork targets GrapheneOS and ships only FOSS builds. The nonFree flavor added Sentry crash reporting, wired to upstream's Sentry project, and Play Services SMS one-time-code autofill, which needs Google's servers. Neither is wanted, so remove the flavor dimension entirely: - Delete app/src/nonFree, the SentryPlugin, the sentry-stub module, the Sentry and Play Services catalog entries, and the Sentry scope setup in Application. - Move the free AutofillSmsActivity stub into main; it keeps the SMS OTP feature off exactly as the free build did. A ponytail note marks the FillOtpFromSms paths for later removal. - SlimTests no longer needs to skip a nonFree variant. - Workflows and docs use :app:assembleDebug / :app:assembleRelease. A bare assembleRelease would also verify library modules in release mode, where ui:compose fails on a pre-existing AppCompat attribute reference the old flavored task never touched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/codeql_analysis.yml4
-rw-r--r--.github/workflows/pull_request.yml4
2 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/codeql_analysis.yml b/.github/workflows/codeql_analysis.yml
index 8928d64e..63661320 100644
--- a/.github/workflows/codeql_analysis.yml
+++ b/.github/workflows/codeql_analysis.yml
@@ -5,8 +5,6 @@ on:
schedule:
- cron: '0 6 * * 1'
-env:
- SENTRY_DSN: 'https://public_key@example.com/project_id'
jobs:
analyze:
@@ -29,7 +27,7 @@ jobs:
- name: Build project
shell: bash
- run: ./gradlew assembleNonFreeRelease
+ run: ./gradlew :app:assembleRelease
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index b61a5320..8c1b3605 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -11,8 +11,6 @@ concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
-env:
- SENTRY_DSN: 'https://public_key@example.com/project_id'
jobs:
check-codestyle:
@@ -64,7 +62,7 @@ jobs:
- name: Build debug APKs
shell: bash
- run: ./gradlew assembleFreeDebug assembleNonFreeDebug assembleNonFreeRelease
+ run: ./gradlew :app:assembleDebug :app:assembleRelease
- name: Upload Kotlin build report
if: "${{ always() }}"