aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/pull_request.yml
AgeCommit message (Collapse)AuthorFilesLines
2021-12-07github: add code-coverage PR jobHarsh Shandilya1-0/+60
2021-12-07github: split PR tasks into separate jobsHarsh Shandilya1-5/+139
2021-12-06Convert all GHA references to normal versions (#1570)Harsh Shandilya1-8/+11
2021-10-28Upgrade dependencies (#1526)Harsh Shandilya1-2/+2
* gradle: upgrade all dependencies * github: replace gradle-cache-action with official gradle-build-action * github: update wrapper-validation-action
2021-10-23Switch new PGP backend to use PGPainless (#1522)Harsh Shandilya1-62/+0
* crypto-pgpainless: init * crypto-pgpainless: add an opinionated CryptoHandler impl * app: migrate to crypto-pgpainless * crypto-pgp: remove * github: remove now unused instrumentation tests job * crypto-common: fixup package names * wip(crypto-pgpainless): add `PGPKeyPair` and `PGPKeyManager` Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> (cherry picked from commit 02d07e9e797a8600cc8c534a731dfffcc44cfdde) * crypto-pgpainless: use hex-encoded key IDs * crypto-pgpainless: replace legacy Gopenpgp-generated key file * crypto-pgpainless: fix CryptoConstants source set * crypto-pgpainless: fix tests * crypto-pgpainless: reinstate PGPKeyManager tests Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-03Cleanup and improve CI checks (#1511)Harsh Shandilya1-48/+22
2021-09-29github: force PR builds to be in the same concurrency group (#1507)Harsh Shandilya1-0/+5
2021-08-17Add `KeyPair` and `KeyManager` to manage keys in the app (#1487)Aditya Wasan1-7/+79
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-07-19Cleanup and fix CI tests (#1464)Harsh Shandilya1-1/+1
2021-06-20Misc updates (#1440)Harsh Shandilya1-1/+1
2021-05-22ci: remove instrumentationTest step and run action on ubuntu-latestAditya Wasan1-13/+1
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-09build: switch to Spotless for formattingHarsh Shandilya1-1/+3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09github: cleanup and better document PR workflow skip logicHarsh Shandilya1-3/+11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09github: bump actions/github-script to v4.0.2Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07github: bump reactivecircus/android-emulator-runner to v2.16.0Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
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