Commit graph

204 commits

Author SHA1 Message Date
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
renovate[bot]
ac94b88d87
chore(deps): update peter-evans/create-pull-request action to v4.0.4 (#1933)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:49:55 +05:30
Harsh Shandilya
9d3312611e
Instate shadow jobs (#1923) 2022-05-25 12:29:04 +00:00
renovate[bot]
8550bede22
chore(deps): update actions/upload-artifact action to v3.1.0 (#1921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 21:50:47 +05:30
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]
7c6a015ad0
chore(deps): update actions/github-script action to v6.1.0 (#1910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 09:02:28 +05:30
renovate[bot]
58c813ef96
chore(deps): update peter-evans/create-pull-request action to v4.0.3 (#1902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 15:07:44 +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]
0d4805aff2
chore(deps): update peter-evans/create-pull-request action to v4.0.2 (#1834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-08 20:15:18 +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]
da1a5d030f
chore(deps): update peter-evans/create-pull-request action to v4.0.1 (#1813)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 16:48:49 +05:30
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]
cf3ae17b84
chore(deps): update peter-evans/create-pull-request action to v4 (#1795)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 14:25:52 +05:30
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]
20ae7e9aac
chore(deps): update actions/upload-artifact action to v3 (#1763)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 23:38:03 +05:30
renovate[bot]
9662e4f12a
chore(deps): update actions/download-artifact action to v3 (#1762)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 00:42:28 +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]
3e4eb5217d
chore(deps): update peter-evans/create-pull-request action to v3.14.0 (#1759)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 20:50:01 +05:30
renovate[bot]
4829c24576
chore(deps): update peter-evans/create-pull-request action to v3.13.0 (#1758)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 15:50:17 +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
f08ad35d2e
Expand tests for multiple identity keys (#1743) 2022-02-22 14:33:03 +05:30
Harsh Shandilya
82e3ba6ce5
Add CI job to assemble release APKs and fix build (#1742) 2022-02-21 15:12:56 +00:00
Harsh Shandilya
3d0006d610
Introduce Sentry for error reporting (#1737) 2022-02-20 19:01:19 +05:30
Harsh Shandilya
f6dd7e338f
github: add missing escapes and quotes (#1736) 2022-02-20 00:18:48 +00:00
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]
d8beba9b9b
chore(deps): update actions/github-script action to v6 (#1726)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 21:22:45 +05:30
Harsh Shandilya
664e1fbba0
Begin rework for configuration cache compatibility (#1709) 2022-02-05 01:57:41 +05:30
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]
cf92d8a5a3
chore(deps): update peter-evans/create-pull-request action to v3.12.1 (#1701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 08:48:16 +05:30
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
Harsh Shandilya
910212b3ae
Raise timeouts for Crowdin task again (#1652)
* build-logic: raise HTTP timeouts for Crowdin again

* github: allow running Crowdin job manually
2022-01-09 08:23:38 +00:00
renovate[bot]
5e5a2ded53
chore(deps): update actions/github-script action to v5.1.0 (#1648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-08 08:50:26 +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
renovate[bot]
c911554c84
chore(deps): update actions/github-script action to v5 (#1616)
* chore(deps): update actions/github-script action to v5

* github: update check-changed-files for OctoKit upgrade

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-12-23 13:20:48 +00:00
renovate[bot]
7f2ccb18ee
chore(deps): update actions/upload-artifact action to v2.3.1 (#1614)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 12:52:19 +00:00
renovate[bot]
000d04157e
chore(deps): update peter-evans/create-pull-request action to v3.12.0 (#1615)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 12:32:30 +00:00
Harsh Shandilya
736f84acb4
Misc cleanups and fixes (#1611) 2021-12-23 12:22:17 +00:00
renovate[bot]
cd61f58d44
chore(deps): update actions/download-artifact action to v2.1.0 (#1609)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 17:40:25 +05:30
Harsh Shandilya
e673c59d87
dependency-sync: remove 2021-12-23 15:53:30 +05:30
Harsh Shandilya
b93f404890
github: use GH CLI for PSL PR manipulation (#1601) 2021-12-22 16:27:42 +00:00
Harsh Shandilya
7d39bc0ae2
Miscellaneous build and CI cleanups (#1587) 2021-12-11 00:12:54 +05:30
Harsh Shandilya
1df01a2f54
Upgrade workflows to use Java 17 (#1579) 2021-12-07 15:21:54 +00:00
Harsh Shandilya
369d674b1a
github: disable publishing of JaCoCo reports 2021-12-07 18:52:45 +05:30
Harsh Shandilya
eefbaca612
github: add code-coverage PR job 2021-12-07 18:51:51 +05:30
Harsh Shandilya
57d0dbad36
github: split PR tasks into separate jobs 2021-12-07 15:38:19 +05:30
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
fc211418c4
Implement workarounds for Dependabot to update dependencies (#1552) 2021-11-30 12:26:05 +00:00
Harsh Shandilya
3d33b1d83d
Try fixing PSL update workflow (#1538)
* Revert "Directly push PSL updates to develop (#1494)"

This reverts commit a6b8e79d36.

* github: enable auto merge of PSL pull requests
2021-11-12 21:04:27 +05:30
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
aac74ae451
Switch new PGP backend to use PGPainless (#1522)
* 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-23 17:02:50 +05:30
Harsh Shandilya
99586970a1
Cleanup and improve CI checks (#1511) 2021-10-03 12:39:24 +00:00
Harsh Shandilya
1ad08e9671
github: force PR builds to be in the same concurrency group (#1507) 2021-09-29 17:30:32 +05:30
Harsh Shandilya
a6b8e79d36
Directly push PSL updates to develop (#1494) 2021-08-28 17:09:10 +05:30
Aditya Wasan
b7abd561f5
Add KeyPair and KeyManager to manage keys in the app (#1487)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-08-17 04:14:43 +05:30
Harsh Shandilya
1071e0e749
Revamp PSL updates (#1475)
* build: import Mozilla's Gradle plugin for PSL updates

* autofill-parser: add tests for PublicSuffixListLoader

* autofill-parser: regenerate publicsuffixes list

* github: switch to Gradle plugin for PSL updates
2021-07-29 21:23:59 +05:30
Harsh Shandilya
392ad847bf
Cleanup and fix CI tests (#1464) 2021-07-19 16:31:37 +05:30
Harsh Shandilya
29041cf561
Misc updates (#1440) 2021-06-20 12:00:55 +05:30
Harsh Shandilya
8c6297d56f
github: add environment variables to crowdin workflow
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:34:53 +05:30
Aditya Wasan
d9d18069ab
ci: remove instrumentationTest step and run action on ubuntu-latest
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:55 +05:30
Harsh Shandilya
f25dabc5e7
Bump Robolectric, Gradle and kotlinx.coroutines (#1408) 2021-05-15 06:59:35 +00:00
Harsh Shandilya
7050f0ea40
build: switch to Spotless for formatting
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
144b120692
github: cleanup and better document PR workflow skip logic
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:32 +05:30
Harsh Shandilya
565cd32d79
github: bump actions/github-script to v4.0.2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 09:32:08 +05:30
Harsh Shandilya
2f335e300a
github: bump reactivecircus/android-emulator-runner to v2.16.0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07 19:05:41 +05:30
Harsh Shandilya
9d4a490c44
build: bump gradle-maven-publish-plugin to 0.15.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07 19:05:40 +05:30
Harsh Shandilya
fb110e5a9a
github: fix crowdin workflow naming
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 06:35:17 +05:30
Harsh Shandilya
fb7788ba7e
Fix library deployment workflow (#1383) 2021-04-15 14:11:43 +05:30
Harsh Shandilya
fbed718ce0
Update build dependencies (#1376)
* build: update dependencies

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

* github: bump actions/upload-artifact

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-08 09:17:17 +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
67df6e27d0
github: run ktfmt checks in CI
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:40:30 +05:30
Harsh Shandilya
1a10d1b3e6
github: update and fix workflows (#1322)
* 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-23 11:20:48 +01:00
Harsh Shandilya
7f4ade8255
Replace JCenter with Maven Central (#1303) 2021-02-06 17:34:17 +05:30
Harsh Shandilya
723acbf767
Miscellaneous cleanups and updates (#1302)
* 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-02-04 23:11:39 +05:30
Harsh Shandilya
7936ca1e78
Upgrade dependencies (#1289) 2021-01-28 14:48:58 +05:30
Harsh Shandilya
3a2cfd22e6
Migrate versioning to Gradle plugin and automate version bumps (#1282) 2021-01-20 20:27:04 +05:30
Harsh Shandilya
5713c719a5
Update Actions (#1270)
* 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>
2021-01-06 13:33:18 +01:00
Harsh Shandilya
1a774eae23
Automate Crowdin localisation sync (#1265)
* build: add a Gradle plugin for Crowdin

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

* build/crowdin: add skipCleanup extension property

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

* build/crowdin: also handle nonFree source set

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

* build/crowdin: fixup directory names for nonFree variant

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

* app: sync translations from Crowdin

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

* github: add Crowdin sync workflow

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-30 11:06:51 +01:00
Harsh Shandilya
3c85930e6f
Switch back to pull_request to mitigate security issue (#1257)
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-22 14:02:56 +05:30
Harsh Shandilya
67393ef62d
github: checkout PR head when running checks (#1247)
Fixes: 29778e0e3d ("Strip down README to feature new docs and Discussions (#1243)")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-11 11:23:48 +05:30
Harsh Shandilya
29778e0e3d
Strip down README to feature new docs and Discussions (#1243) 2020-12-10 16:55:31 +05:30
Harsh Shandilya
6642e556c2
github: update peter-evans/create-pull-request to v3.5.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:38 +05:30
Harsh Shandilya
48e4ed1e91
github: update thomaseizinger/keep-a-changelog-new-release to v1.2.0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:38 +05:30
Harsh Shandilya
9f17d60f99
github: update actions/download-artifact to v2.0.6
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:37 +05:30
Harsh Shandilya
51bde071b6
github: update actions/upload-artifact to v2.2.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:37 +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
7cd416216e
github: rename validate_wrapper.yml to validate_gradle_wrapper.yml
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:36 +05:30