-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ci: bring :app and :e2eTest under the Android Lint gate #2503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
demolaf
wants to merge
51
commits into
pre-GA
Choose a base branch
from
ci/gate-app-and-e2etest-on-lint
base: pre-GA
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
545abfe
fix(auth)!: remove non-functional MFA recovery codes (#2457)
demolaf 0fc340f
refactor(auth): scope phone verification loading state to the composi…
demolaf 7a8f9e4
fix(e2e): fix flaky Google credential-linking test (#2455)
demolaf 621018b
fix(auth): complete MFA challenge sign-in navigation and success call…
demolaf 766b5e7
feat(auth): add stable resource ids for auth input fields (#2449)
demolaf 67cf521
fix(auth): log diagnostic warning when Google sign-in NoCredentialExc…
demolaf b9dd90f
fix(e2e): retry and fail loudly when clearing Firebase Auth emulator …
demolaf 6515dad
fix(e2e): don't swallow InterruptedException in emulator clear retry …
demolaf 1b3a970
feat(auth): reshape reauthContent into a ReauthContentState content s…
demolaf dc813ae
test(auth): pin onComplete and factor refresh on successful MFA enrol…
demolaf 4dcd469
feat(auth)!: make each email sign-in mode a real navigation destinati…
demolaf 6df153a
feat(auth): make each MFA enrollment step a real navigation destinati…
demolaf 1bac525
feat(auth)!: migrate auth navigation to Navigation 3 (#2469)
demolaf 97429d7
feat(auth): make reauthentication a navigation destination (#2471)
demolaf 0de3292
fix(auth): clear MFA enrollment flow state on every entry (#2473)
demolaf 8ae7e77
feat(auth): make each phone auth step a real navigation destination (…
demolaf 36df111
fix(auth): don't strand phone-only users on email verification after …
demolaf dbcb5f0
test(auth): cover the write-through recoveries and the custom reauth …
demolaf 4e3ea8b
refactor(auth)!: replace the retained reauth closure with a resolver …
demolaf c7b0f84
test(auth): record the ordered state sequence of each sign-in path
demolaf fad7fc7
refactor(auth)!: give provider code its own flow scope instead of the…
demolaf 322d145
refactor(auth): read the arming guards off the back stack rather than…
demolaf ca98011
refactor(auth): let a flow's screens read their state from the flow t…
demolaf 7ea1d3b
feat(auth)!: report a declined reauthentication to the caller instead…
demolaf 79eec9b
refactor(auth): name what happens to a reauthentication request inste…
demolaf bca42b5
refactor(auth)!: give reauthentication requests their own channel ins…
demolaf 293346d
docs(auth): say what the reauthentication api does instead of arguing…
demolaf 71bd912
test(auth): drive the reauthentication e2e tests through withReauth
demolaf 24b69e9
fix(auth): clear the reauthentication handover state however the retr…
demolaf 0859eb4
test(auth): cover a password change and an account deletion through r…
demolaf d61c09c
refactor(auth)!: make Reauthentication.Required's user constructor in…
demolaf f99fa29
test(auth): pin what makes one reauthentication request state differ …
demolaf e29d1a9
fix(auth): read a user's email once when deciding what their sign-in …
demolaf 75ce57c
fix(auth): decline a reauthentication request that is never presented
demolaf e1db90d
fix(auth): report a failed retry as an error instead of a stale success
demolaf 795f757
docs(auth): drop two references to reauthentication members this bran…
demolaf 28701fc
test(auth): assert a dismissed reauthentication declines its caller, …
demolaf 2d959d6
fix(auth): decline the outstanding request when an abort finds no pha…
demolaf 99e70fe
feat(auth)!: require the multi-step auth screens to be given navigati…
demolaf 9244eb8
fix(auth)!: remove the sign-in controls made redundant by per-step na…
demolaf ba697de
feat(auth)!: decouple SMS multi-factor configuration from the phone s…
demolaf 1d87f10
docs(auth): correct the 10.0 upgrade guide against the current API (#…
demolaf d0ce78f
sample(app): drop the comments that restate the code in the auth demo…
demolaf ea6fecf
docs(auth): correct the auth KDoc against the current API (#2493)
demolaf 9630281
docs(auth): correct the auth README against the current API (#2496)
demolaf 9086761
fix(auth): show the link-sent confirmation on anonymous upgrade, with…
demolaf 7046f6b
fix(auth): don't reset MFA enrollment state when already in the flow …
demolaf 14a6be0
refactor(auth): deduplicate the sign-up and email-link offered rules …
demolaf 4f2b154
ci: add an Android Lint workflow and gate the Kotlin modules on it
8a6e3b8
fix(auth)!: resolve the 12 baselined Compose lint findings (#2504)
demolaf 9aa0fee
ci: bring :app and :e2eTest under the Android Lint gate
demolaf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: Android Lint | ||
|
|
||
| # pull_request only, matching e2e_test.yml. android.yml's [pull_request, push] | ||
| # is why every commit there produces two identical `build` runs. | ||
| on: | ||
| - pull_request | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Cache Gradle packages | ||
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | ||
| with: | ||
| path: | | ||
| ~/.gradle/caches | ||
| ~/.gradle/wrapper | ||
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
|
|
||
| - name: Set up JDK 21 | ||
| uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0 | ||
| with: | ||
| java-version: '21' | ||
| distribution: 'temurin' | ||
|
|
||
| # lintAll gates :app and :proguard-tests, both of which apply the google-services | ||
| # plugin and will not configure without this file. Mirrors what build.sh copies. | ||
| - name: Copy google-services.json | ||
| run: | | ||
| cp library/google-services.json app/google-services.json | ||
| cp library/google-services.json proguard-tests/google-services.json | ||
|
|
||
| - name: Android Lint | ||
| run: ./gradlew --max-workers=2 lintAll | ||
|
|
||
| - name: Print Logs | ||
| if: failure() | ||
| run: ./scripts/print_build_logs.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.