Commit graph

127 commits

Author SHA1 Message Date
renovate[bot]
103ddb0cd0
chore(deps): update actions/checkout action to v3.3.0 (#2320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 13:41:31 +00:00
renovate[bot]
7b205839d9
chore(deps): update actions/setup-java action to v3.9.0 (#2299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 20:50:38 +05:30
renovate[bot]
4b3691a670
chore(deps): update actions/checkout action to v3.2.0 (#2297)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 21:53:57 +00:00
Harsh Shandilya
47893833fb
fix(ci): cancel in-progress builds for snapshot deployment 2022-12-08 18:51:15 +05:30
renovate[bot]
646e55ae2a
chore(deps): update actions/setup-java action to v3.8.0 (#2283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-06 20:54:01 +05:30
renovate[bot]
0e993fca29
chore(deps): update actions/setup-java action to v3.7.0 (#2281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 14:49:37 +00:00
Harsh Shandilya
9610254eef
chore(ci): ensure only one instance of snapshot deploy workflow runs 2022-11-28 13:12:48 +05:30
Harsh Shandilya
d25635500d
chore(ci): misc changes to snapshot deployment 2022-11-25 01:20:13 +05:30
renovate[bot]
a5f44ef94d
chore(deps): pin dependencies (#2249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-13 01:24:33 +05:30
renovate[bot]
f5c49c285d
chore(deps): update gradle/gradle-build-action action to v2.3.3 (#2199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 22:02:24 +05:30
renovate[bot]
e29f48cc61
chore(deps): update actions/setup-java action to v3.6.0 (#2192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 19:33:50 +05:30
renovate[bot]
380070d5ff
chore(deps): update actions/checkout action to v3.1.0 (#2161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-04 18:03:41 +05:30
renovate[bot]
e9ada56f08
chore(deps): update gradle/gradle-build-action action to v2.3.2 (#2155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-29 21:06:35 +05:30
renovate[bot]
7369ac932e
chore(deps): update actions/setup-java action to v3.5.1 (#2149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-26 20:27:27 +05:30
renovate[bot]
17d9ffdaf5
chore(deps): update gradle/gradle-build-action action to v2.3.1 (#2146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-23 01:54:48 +05:30
Harsh Shandilya
85a4c027e4
Fix bundle collection task (#2122) 2022-09-10 20:08:05 +00:00
renovate[bot]
45ea554ec6
chore(deps): update actions/setup-java action to v3.5.0 (#2119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-08 18:03:27 +00:00
Harsh Shandilya
7bc6b5a194
fix(github): run all checks with JDK 18 2022-09-05 13:51:05 +05:30
Harsh Shandilya
eb04202410
Enable new gradle-home-cache-cleanup option (#2096) 2022-08-30 16:38:46 +00:00
renovate[bot]
4e302991c7
chore(deps): update gradle/gradle-build-action action to v2.3.0 (#2095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 23:51:35 +05:30
renovate[bot]
e6e67140fa
chore(deps): update gradle/gradle-build-action action to v2.2.5 (#2067)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 05:35:53 +00:00
renovate[bot]
d33617e5ff
chore(deps): update gradle/gradle-build-action action to v2.2.4 (#2066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 01:42:37 +05:30
renovate[bot]
0f3e6df442
chore(deps): update gradle/gradle-build-action action to v2.2.3 (#2062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 04:32:13 +05:30
renovate[bot]
3e12e281f5
chore(deps): update gradle/gradle-build-action action to v2.2.2 (#2020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-19 09:19:57 +05:30
renovate[bot]
6b23934c7d
chore(deps): update actions/setup-java action to v3.4.1 (#1992)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 21:50:30 +05:30
renovate[bot]
11d4c53af9
chore(deps): update actions/setup-java action to v3.4.0 (#1971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 01:28:19 +05:30
renovate[bot]
77fa6251ef
chore(deps): update gradle/gradle-build-action action to v2.2.1 (#1970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 16:05:01 +00:00
Harsh Shandilya
bd9f883bb6
Improve Kotlin build caching (#1947)
* Update Gradle properties with Kotlin 1.7 build things

* Disable build tooling metadata task

* Revert "Revert "github: stop disabling configuration cache in CI""

This reverts commit 08951643f51a5a62ca2419cb3a5e935b1d7de413.

* Store build reports as artifacts
2022-06-10 23:27:56 +05:30
renovate[bot]
f968b21bf6
chore(deps): update dependency org.jetbrains.kotlin:kotlin-test-junit to v1.7.0 (#1941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-06-09 10:49:53 +05:30
Harsh Shandilya
9e717b6809
Bump gradle/gradle-build-action to 2.2.0 stable (#1937)
github: bump `gradle/gradle-build-action` to 2.2.0 stable
2022-06-07 02:40:22 +00:00
Harsh Shandilya
f53fe04196
github: stop disabling configuration cache in CI 2022-06-05 04:06:12 +05:30
Harsh Shandilya
9d3312611e
Instate shadow jobs (#1923) 2022-05-25 12:29:04 +00:00
renovate[bot]
4a5bd337c3
chore(deps): update gradle/gradle-build-action action to v2.1.6 (#1916)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-16 09:53:04 +05:30
renovate[bot]
cba7f798c3
chore(deps): update actions/setup-java action to v3.3.0 (#1895)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 19:55:07 +05:30
renovate[bot]
67053eb104
chore(deps): update actions/setup-java action to v3.2.0 (#1875)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 11:47:10 +00:00
Harsh Shandilya
758e3210a3
Allow sentry mapping upload task to be configured at build-time (#1870) 2022-04-25 11:33:35 +05:30
renovate[bot]
545da8f79b
chore(deps): update actions/checkout action to v3.0.2 (#1861)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 15:21:12 +00:00
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