summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pull_request.yml
AgeCommit message (Collapse)AuthorFilesLines
2021-03-18github: run all workflows on Java 11Harsh Shandilya1-0/+5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18github: run ktfmt checks in CIHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-23github: update and fix workflows (#1322)Harsh Shandilya1-1/+1
* github: fix library deployment workflow Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/create-release to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/download-artifact to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/github-script to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/upload-release-asset to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp gradle/wrapper-validation-action to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update thomaseizinger/keep-a-changelog-new-release to v1.2.1 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update mindsers/changelog-reader-action to v2.0.0 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update peter-evans/create-pull-request to v3.8.2 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-04Miscellaneous cleanups and updates (#1302)Harsh Shandilya1-3/+0
* build: upgrade to Gradle 6.8.1 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: remove animation commands from PR workflow The emulator runner action handles this for us Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: upgrade LeakCanary and WhatTheStack Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-28Upgrade dependencies (#1289)Harsh Shandilya1-1/+1
2021-01-06Update Actions (#1270)Harsh Shandilya1-2/+2
* github: bump actions/upload-artifact to v2.2.2 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: bump reactivecircus/android-emulator-runner to v2.14.2 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: bump peter-evans/create-pull-request to v3.6.0 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-22Switch back to pull_request to mitigate security issue (#1257)Harsh Shandilya1-5/+5
According to advisory GHSL-2020-367 the changes I made to support pull_request_target make this repository vulnerable to attacks from any malicious forker Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-11github: checkout PR head when running checks (#1247)Harsh Shandilya1-0/+2
Fixes: 29778e0e3da9 ("Strip down README to feature new docs and Discussions (#1243)") Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-10Strip down README to feature new docs and Discussions (#1243)Harsh Shandilya1-1/+1
2020-12-07github: update actions/upload-artifact to v2.2.1Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07github: update actions/checkout to v2.3.4Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07github: add auto-cancel-redundant-workflowHarsh Shandilya1-0/+3
Automatically cancels existing runs of a PR checking workflow to prevent redundant checks and wastage of resources. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23Update GitHub Actions workflows (#1169)Harsh Shandilya1-5/+5
* github: switch all actions to their latest versions and pin by SHA1 hash Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: switch back to peter-evans/create-pull-request for creating pull requests Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-02github: switch PR workflow from an allowlist to a blocklistHarsh Shandilya1-3/+3
This is going to be less work to maintain going forward since we won't need to change it every time we include a new subproject. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01github: run apiCheck task in pull requestsHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01github: update workflows to use gradle-cache-actionHarsh Shandilya1-32/+3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-21Revert "github: remove ci-gradle.properties" (#1113)Harsh Shandilya1-0/+4
GitHub's runners are still too weak for us to go by without doing this: https://pipelines.actions.githubusercontent.com/eRaLlgv7QgiQrEiMWvOVzCfcXl8ehv3iNil9w7DRw7wdT9P1kT/_apis/pipelines/1/runs/2741/signedlogcontent/3?urlExpires=2020-09-21T07%3A46%3A57.1297541Z&urlSigningMethod=HMACV1&urlSignature=6e1r7tlUIn9E2EuEm2i4skqgQwZ4jCmO9ARlGZ6a3SU%3D This reverts commit 098c765132a823225e2b2ef82c1302e02f68cd31.
2020-09-20github: remove ci-gradle.propertiesHarsh Shandilya1-4/+0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-17github: remove nonFree flavor from tests (#1102)Harsh Shandilya1-16/+3
Our tests have zero differences between these flavors so running 4 jobs rather than 2 just slows us down Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-03github: also run presubmit tests for buildSrc changes (#1074)Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-21github: switch to debug builds (#1037)Harsh Shandilya1-3/+3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26github: upload test reports on failureHarsh Shandilya1-0/+7
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-24Expand OTP and PasswordEntry tests (#968)Harsh Shandilya1-3/+15
2020-07-14github: update all Actions (#934)Harsh Shandilya1-4/+4
Switch publicsuffix update workflow to use the same pull-request action as release drafter. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-14github: remove freeDebug variant from pull request matrix (#932)Harsh Shandilya1-1/+1
We don't need this tested and it slows down CI. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-02Fill OTP fields with SMS codes (#900)Fabian Henneke1-1/+1
* Fill OTP fields with SMS codes * Allow SMS OTP fill also for web origins * Introduce free and nonFree build variants * Fix up workflow * Improve layout and feature detection * Workflow changes * Add Changelog entry * github: update release workflow for nonFree/Free split Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Switch to lifecycleScope * github: make snapshot deploy free variant Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-23Remove API 30 from pull request test matrix (#879)Harsh Shandilya1-3/+3
* Revert "github: run instrumentation tests against API 30 (#847)" API 30 is too flaky to be a part of our active test suite. This reverts commit bf33fb2c88a208931340201e95a524b274d70b31. * github: bump android-emulator-runner action Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-18Automate release steps (#849)Harsh Shandilya1-1/+1
2020-06-12github: run instrumentation tests against API 30 (#847)Harsh Shandilya1-3/+3
2020-05-23github: Switch to dynamic filtering (#786)Harsh Shandilya1-11/+27
Also update cache layout for snapshot deployment workflows
2020-05-17Add tests for GitServerConfigActivity (#783)Harsh Shandilya1-1/+5
* Add tests for GitServerConfigActivity * github: disable animations before running UI tests Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-1/+1
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
2020-05-04github: implement path filtering to run actions only when required (#760)Harsh Shandilya1-1/+10
2020-05-01Update Actions caching and add workflow to validate Gradle wrapper (#754)Harsh Shandilya1-3/+25
2020-04-18Run tests for debug/release on 23/29 (#720)Fabian Henneke1-2/+3
* Also run unit tests for release build * Only test on API levels 23 and 29
2020-04-17Enable emulator tests (#708)Harsh Shandilya1-5/+11
* github: Enable instrumentation testing in PRs Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Upgrade to Gradle 6.3 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove outdated and broken tests, redo PasswordEntryTest in Kotlin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove now unused test assets Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: Disable debug APK uploads in PR testing Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Update .github/workflows/pull_request.yml * Update .github/workflows/pull_request.yml Switching to Ubuntu fails due to the SDK 29 missing. Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-02-25CI workflow improvements (#642)Harsh Shandilya1-1/+4
* github: Only run debug tasks in PRs * github: Remove nightly deploys * github: Setup automatic debug branch deployment * Tweak Gradle config in CI Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2019-12-31Prepare for new Play Store listing (#602)Harsh Shandilya1-0/+8
* Gradle cleanup * Update package name * Remove release APK from git This should have never been here * Move package name to dependencies.gradle * github: Setup caching for gradle * Update Play Store art * gradle: Use constraints API in place of deprecated force * Update dependencies * Raise minSdk to 23 * Target SDK 28 for now External storage handling changes are atrocious to support in this codebase so we'll be holding out as far as we can. * Revert "Opt into legacy external storage handling (#595)" Not needed on SDK 28 This reverts commit 3f249e4bffffe0ba30e7546735c7fb4576918c69. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16Setup snapshot deployment (#599)Harsh Shandilya1-0/+13
* Setup snapshot deployment * README: Update repository links * README: Update workflow badge link * README: Add link to Snapshot builds * Fix snapshot/pull-request build conflict * Deploy from feature/deploy-snapshots as well * Revert "Deploy from feature/deploy-snapshots as well" Confirmed it works well This reverts commit 06f6bc0e8c19f238643655d09ca20f83dd416283. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>