Commit graph

40 commits

Author SHA1 Message Date
renovate[bot]
5312f2fa5d
chore(deps): update actions/checkout action to v3.0.1 (#1844)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 18:43:41 +00:00
renovate[bot]
8eef38dd0c
chore(deps): update actions/setup-java action to v3.1.1 (#1839)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 21:18:04 +05:30
renovate[bot]
4bd4648ead
chore(deps): update actions/setup-java action to v3.1.0 (#1816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 18:21:00 +05:30
Harsh Shandilya
deac3c4029
Remove setup-java Gradle cache (#1815) 2022-03-31 17:50:09 +00:00
renovate[bot]
b440a2207e
chore(deps): update gradle/gradle-build-action action to v2.1.5 (#1807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 22:34:21 +00:00
renovate[bot]
1f88911ddd
chore(deps): update gradle/gradle-build-action action to v2.1.4 (#1790)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-19 03:23:17 +05:30
Harsh Shandilya
7868c6d08e
Configure sentry properties (#1783) 2022-03-13 12:39:15 +00:00
Harsh Shandilya
47aecbca53
Follow-up fixes to snapshot deployment (#1768)
* scripts/deploy-snapshot: ensure GITHUB_WORKSPACE is set when script is run

* scripts/deploy-snapshot: prevent command output from breaking comparison

* scripts/deploy-snapshot: fix shellcheck nits

* gitignore: add outputs directory

* github: pass privileged token to deployment script
2022-03-05 18:31:05 +00:00
Harsh Shandilya
208e49e4d5
Move snapshot releases to GitHub (#1767) 2022-03-05 23:12:50 +05:30
renovate[bot]
980ebe44da
chore(deps): update actions/checkout action to v3 (#1760)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 01:29:46 +05:30
renovate[bot]
0af4e2920c
chore(deps): update actions/setup-java action to v3 (#1752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 20:16:22 +05:30
Harsh Shandilya
acc448ce74
Use explicit Gradle tasks to handle build artifact collection (#1745) 2022-02-23 14:25:03 +05:30
Harsh Shandilya
3d0006d610
Introduce Sentry for error reporting (#1737) 2022-02-20 19:01:19 +05:30
renovate[bot]
3939003dec
chore(deps): update actions/setup-java action to v2.5.0 (#1734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 04:58:48 +00:00
Harsh Shandilya
c9992a64fc
Turn on Configuration Cache (#1733) 2022-02-17 04:43:04 +00:00
renovate[bot]
ce75d0e49b
chore(deps): update gradle/gradle-build-action action to v2.1.3 (#1705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 18:55:12 +00:00
renovate[bot]
e66808eaee
chore(deps): update gradle/gradle-build-action action to v2.1.2 (#1697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-28 17:52:15 +00:00
renovate[bot]
e7fbcd4f85
chore(deps): update gradle/gradle-build-action action to v2.1.1 (#1684)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 07:52:57 +05:30
renovate[bot]
d7a9a8ed1e
chore(deps): update gradle/gradle-build-action action to v2.1.0 (#1633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-31 05:43:15 +00:00
Harsh Shandilya
1df01a2f54
Upgrade workflows to use Java 17 (#1579) 2021-12-07 15:21:54 +00:00
Harsh Shandilya
5afb31f59e
Reorder workflow steps to fix cache failure (#1571) 2021-12-06 18:34:30 +00:00
Harsh Shandilya
968507aba0
Convert all GHA references to normal versions (#1570) 2021-12-06 18:19:29 +00:00
Harsh Shandilya
22ed045ea7
Upgrade dependencies (#1526)
* gradle: upgrade all dependencies

* github: replace gradle-cache-action with official gradle-build-action

* github: update wrapper-validation-action
2021-10-28 07:04:29 +05:30
Harsh Shandilya
9cde249c82
github: run all workflows on Java 11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 12:33:44 +05:30
Harsh Shandilya
b5b0e177d9
github: update actions/checkout to v2.3.4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:37 +05:30
Harsh Shandilya
4e22df02fa
Update GitHub Actions workflows (#1169)
* 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-23 11:33:45 +02:00
Harsh Shandilya
6c1e41ba10
Revamp build configuration (#1156)
* release: move scripts to scripts directory

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Move CI secrets to secrets directory

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* gradle: uprev to 6.7

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* gradle: suppress warnings about unsupported options

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: update dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: move Gradle plugins to ext

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: move configuration tasks to buildSrc

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* CHANGELOG: add entry for #1137

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Fix lint warnings

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-16 17:18:11 +02:00
Harsh Shandilya
28bdbbbcce
github: update workflows to use gradle-cache-action
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01 19:11:21 +05:30
Harsh Shandilya
37ea5d4a49
Revert "github: remove ci-gradle.properties" (#1113)
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 098c765132.
2020-09-21 14:17:06 +05:30
Harsh Shandilya
098c765132
github: remove ci-gradle.properties
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20 22:49:01 +05:30
Harsh Shandilya
06b226ae8d
github: update all Actions (#934)
Switch publicsuffix update workflow to use the same pull-request action
as release drafter.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-14 20:38:34 +02:00
Harsh Shandilya
9fb492b572
Deploy both variants to snapshot directory (#914)
* Deploy both free and non-free variants

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: add product flavor to APK name

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-02 20:23:31 +02:00
Fabian Henneke
ca9c951a53
Fill OTP fields with SMS codes (#900)
* 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-07-02 13:49:32 +02:00
Harsh Shandilya
c9149a7663
github: update actions for updated branching logic
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-25 00:21:05 +05:30
Harsh Shandilya
dd8df232fb
github: add flow to purge Cloudflare cache after snapshot deploy (#848)
This will ensure that APKs served from Cloudflare's edge will always be fresh.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-12 22:26:40 +05:30
Harsh Shandilya
0c45bffaba
github: Switch to dynamic filtering (#786)
Also update cache layout for snapshot deployment workflows
2020-05-23 16:34:10 +05:30
Harsh Shandilya
041cf00510
Treewide codestyle cleanup (#765)
- 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-10 19:21:39 +05:30
Harsh Shandilya
bea3cd5457
CI workflow improvements (#642)
* 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>
2020-02-25 15:22:05 +05:30
Harsh Shandilya
d5a744bd37 Prepare for new Play Store listing (#602)
* 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 3f249e4bff.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-31 20:57:38 +05:30
Harsh Shandilya
e61551bf37
Setup snapshot deployment (#599)
* 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>
2019-12-16 03:19:18 +05:30