Commit graph

461 commits

Author SHA1 Message Date
renovate[bot]
0e474e127d
chore(deps): update actions/setup-java action to v3.11.0 (#2442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 19:27:47 +00:00
Harsh Shandilya
8e14f8ccaf
feat(build): migrate to Crowdin V2 API 2023-03-26 19:00:38 +05:30
renovate[bot]
965c80bbe4
chore(deps): update actions/checkout action to v3.5.0 (#2435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 07:23:55 +00:00
Harsh Shandilya
9351e79511
fix(ci): make shadow jobs actually use provided Gradle version 2023-03-23 13:57:38 +05:30
Harsh Shandilya
dbdde9688f
fix(ci): use correct job title for dependency 2023-03-23 13:40:11 +05:30
renovate[bot]
e791677d70
chore(deps): pin usefulness/agp-version-finder-action action to 9084404 (#2433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 13:37:37 +05:30
Harsh Shandilya
9b3fd4b064
fix(ci): make AGP version handling automatic 2023-03-23 12:56:37 +05:30
Harsh Shandilya
9a0e28cc0a
fix(ci): prevent shadow jobs from writing to cache 2023-03-19 18:42:20 +05:30
renovate[bot]
1aa31824e8
chore(deps): update actions/checkout action to v3.4.0 (#2416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 08:02:00 +05:30
renovate[bot]
086749aa0c
chore(deps): update peter-evans/create-pull-request action to v4.2.4 (#2415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 08:55:15 +05:30
Harsh Shandilya
b707eed4d3
fix(shadow jobs): don't run an additional jobset for latest Gradle version
I always keep the wrapper in sync with Gradle releases so the additional matrix dimension doesn't add much value.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2023-02-28 13:57:11 +05:30
Harsh Shandilya
a634e22d7f
feat(ci): make shadow jobs report aggregate success 2023-02-28 11:46:41 +05:30
Harsh Shandilya
14b17d2dc9
fix: remove Gradle 8.x exclusion from shadow jobs 2023-02-28 11:35:31 +05:30
Harsh Shandilya
9142bed0de
chore: update AGP versions in shadow jobs 2023-02-28 11:25:42 +05:30
Harsh Shandilya
298c19307b
fix(ci): improve check for uncommitted changes 2023-02-23 19:26:57 +05:30
renovate[bot]
86516a84c0
chore(deps): update gradle/wrapper-validation-action action to v1.0.6 (#2382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-19 07:16:38 +05:30
renovate[bot]
0a063061ee
chore(deps): update gradle/gradle-build-action action to v2.4.0 (#2381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-19 06:48:39 +05:30
Harsh Shandilya
c5613abd0c
chore(ci): add merge queue trigger to PR jobs 2023-02-13 16:09:58 +05:30
renovate[bot]
1536b0a8fb
chore(deps): update actions/setup-java action to v3.10.0 (#2364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 09:45:23 +05:30
Harsh Shandilya
d43ab32ff3
chore(ci): update shadow job configuration
- Run for latest stable and release nightly Gradle versions
- Exclude known-broken combinations
2023-01-31 15:35:37 +05:30
Harsh Shandilya
69bbc5b8f4
chore(ci): bump AGP versions for shadow jobs 2023-01-30 15:11:57 +05:30
renovate[bot]
567c1fbb35
chore(deps): update actions/github-script action to v6.4.0 (#2346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 17:47:10 +00:00
Harsh Shandilya
448ed3e575
chore(ci): update shadow job configuration 2023-01-26 11:24:29 +05:30
Harsh Shandilya
f2858529c2
fix(ci): assemble bundles but do not deploy them in snapshots
While a build test is good and useful ultimately there is
little value to the bundle format outside Google Play and the
artifact only serves to confuse users looking to download the
snapshots.
2023-01-16 10:22:36 +05:30
Harsh Shandilya
c2408ca7b3
fix(ci): update AGP versions in shadow job configuration 2023-01-13 15:17:55 +05:30
Harsh Shandilya
4f020a8d22
chore(deps): revert back to AGP stable
This reverts commit aca444da4e.
2023-01-13 15:00:30 +05:30
renovate[bot]
70c3c29b9d
chore(deps): update actions/upload-artifact action to v3.1.2 (#2324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-06 15:39:49 +00:00
renovate[bot]
7e654d0cc5
chore(deps): update actions/download-artifact action to v3.0.2 (#2322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-06 08:54:29 +05:30
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
Harsh Shandilya
aca444da4e
chore: upgrade to AGP 8.0.0-alpha10
This brings proper compatibility with Gradle 8.0 RC1
2023-01-03 20:27:28 +05:30
Harsh Shandilya
31293eac84
chore: update AGP versions for shadow job 2022-12-29 22:51:27 +05:30
Harsh Shandilya
3b829caef6
fix(ci): disable AGP 8 X Java 11 shadow job
AGP 8.x now correcly enforces its Java 17+ runtime requirement
2022-12-22 12:00:58 +05:30
Harsh Shandilya
a84b810844
chore(ci): update shadow job versions 2022-12-22 11:32:27 +05:30
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
Harsh Shandilya
047766225f
fix(ci): only validate wrapper when changed 2022-12-08 18:51:15 +05:30
Harsh Shandilya
54eab762a8
feat(shadow jobs): prepare for revival
- Bump versions
- Workaround perma-fail on AGP 8.x
- Adjust schedule to be weekly
- Report exit state to healthchecks.io
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
b6d27e75ce
fix(ci): run wrapper validation on develop branch push 2022-11-28 12:59:29 +05:30
renovate[bot]
4d210573e7
chore(deps): update peter-evans/create-pull-request action to v4.2.3 (#2277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 12:55:16 +05:30
Harsh Shandilya
d25635500d
chore(ci): misc changes to snapshot deployment 2022-11-25 01:20:13 +05:30
renovate[bot]
f804a660e6
chore(deps): update peter-evans/create-pull-request action to v4.2.2 (#2271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-11-24 04:32:29 +00:00
renovate[bot]
b2f6fde703
chore(deps): update mindsers/changelog-reader-action action to v2.2.2 (#2269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 21:44:39 +05:30
renovate[bot]
5538a3e8ad
chore(deps): update peter-evans/create-pull-request action to v4.2.1 (#2266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 10:07:42 +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]
9562813939
chore(deps): update mindsers/changelog-reader-action action to v2.2.1 (#2241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 22:39:16 +05:30
Harsh Shandilya
e8064e77b6
feat(ci): merge release and debug APK jobs 2022-11-08 21:31:21 +05:30
Harsh Shandilya
a3118c5476 fix(github): fix Crowdin and PSL pull labels 2022-10-30 08:12:16 +00:00
Harsh Shandilya
0208483fd4
refactor(github): rework CI avoidance logic 2022-10-29 08:32:58 +05:30
Harsh Shandilya
56fd18b17d
feat: rip out Spotless
Spotless' configuration cache support is irritating since it requires you to wipe config cache
every time you initialise a Gradle daemon.
2022-10-29 08:10:44 +05:30
Harsh Shandilya
53802dfa15
chore: update AGP versions in shadow job 2022-10-25 02:01:33 +05:30
renovate[bot]
b8863f1def
chore(deps): update gradle/wrapper-validation-action action to v1.0.5 (#2210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-24 23:52:53 +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]
2540a8a53b
chore(deps): update actions/upload-artifact action to v3.1.1 (#2197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 07:55:01 +05:30
Harsh Shandilya
df764932f7
Migrate to Metalava for validating API (#2195) 2022-10-21 06:32:23 +00:00
renovate[bot]
7f90d827ae
chore(deps): update actions/download-artifact action to v3.0.1 (#2194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-20 20:45:30 -04:00
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]
b97d4226b8
chore(deps): update peter-evans/create-pull-request action to v4.2.0 (#2190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 10:05:52 +05:30
renovate[bot]
4b77e3bd0d
chore(deps): update peter-evans/create-pull-request action to v4.1.4 (#2188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-17 13:48:45 +05:30
renovate[bot]
d127717e8a
chore(deps): update actions/github-script action to v6.3.3 (#2182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-14 07:15:17 +05:30
renovate[bot]
d6ab3651b7
fix(deps): update dependency com.android.tools.build:gradle to v7.3.1 (#2181)
* fix(deps): update dependency com.android.tools.build:gradle to v7.3.1

* github: bump shadow job AGP versions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-10-13 17:30:56 +00:00
renovate[bot]
d0f5282c62
chore(deps): update actions/github-script action to v6.3.2 (#2177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 00:56:15 +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]
f7e645e855
chore(deps): update actions/github-script action to v6.3.1 (#2157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 10:21:54 +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]
806b8aa218
chore(deps): update peter-evans/create-pull-request action to v4.1.3 (#2151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-28 10:29:22 +05:30
renovate[bot]
28af291f89
chore(deps): update actions/github-script action to v6.3.0 (#2150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-27 08:56: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
renovate[bot]
cdefe1b545
chore(deps): update peter-evans/create-pull-request action to v4.1.2 (#2135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-21 11:12:24 +05:30
renovate[bot]
579449a075
fix(deps): update dependency com.android.tools.build:gradle to v7.3.0 (#2127)
* fix(deps): update dependency com.android.tools.build:gradle to v7.3.0

* chore(ci): bump AGP version in matrix

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-09-15 18:22:22 +00:00
Harsh Shandilya
85a4c027e4
Fix bundle collection task (#2122) 2022-09-10 20:08:05 +00:00
renovate[bot]
c289b01a86
fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 (#2121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-09-10 06:33:23 +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
d3bb888449
fix(github): remove JDK 17 from shadow job matrix 2022-09-05 13:51:40 +05:30
Harsh Shandilya
7bc6b5a194
fix(github): run all checks with JDK 18 2022-09-05 13:51:05 +05:30
Harsh Shandilya
f305463b56
chore(github): bump AGP versions 2022-09-05 13:49:25 +05:30
Harsh Shandilya
9fd8d012c6
fix(github): open automated PRs as (@)msfjarvis
This saves a close-reopen round trip since human created PRs automatically trigger checks
2022-09-05 13:41:19 +05:30
renovate[bot]
903f11c303
chore(deps): update mindsers/changelog-reader-action action to v2.2.0 (#2102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 19:09:04 +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]
a870e44d22
chore(deps): update actions/github-script action to v6.2.0 (#2090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 02:06:27 +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]
17d7a98661
chore(deps): update peter-evans/create-pull-request action to v4.1.1 (#2064)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 14:27:16 +05:30
renovate[bot]
783c892458
chore(deps): update peter-evans/create-pull-request action to v4.1.0 (#2063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 15:32:28 +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]
edbb6bf6e8
chore(deps): update actions/github-script action to v6.1.1 (#2058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 17:33:08 +00:00
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
Harsh Shandilya
1f4ed1b194
github: fix job name for detekt 2022-07-17 22:52:39 +05:30
Harsh Shandilya
451c236c21
github: add a detekt job 2022-07-17 14:07:50 +05:30
Harsh Shandilya
4548140cae
Remove openpgp-ktx 2022-07-15 14:53:52 +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
Harsh Shandilya
9fbd7f0a6c
github: bump shadow job versions 2022-07-07 11:28:59 +05:30
renovate[bot]
49dd2cbfc2
chore(deps): update mindsers/changelog-reader-action action to v2.1.1 (#1981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-04 09:03:32 +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
783503ee7d
github: fix library release workflow 2022-06-20 15:11:34 +05:30
Harsh Shandilya
c7e2174c44
Fix Crowdin GitHub Actions job (#1961)
* github: turn off configuration cache for Crowdin job

* gradle: bump ktfmt
2022-06-16 13:15:31 +05:30
renovate[bot]
5d7fde8bc7
chore(deps): update mindsers/changelog-reader-action action to v2.1.0 (#1960)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-06-15 02:06:29 +00:00
Harsh Shandilya
68cf22fb75
build-logic: rewrite version overrides to edit the version catalog 2022-06-12 16:31:42 +05:30
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
Harsh Shandilya
a6f7a96c0d
Update AGP versions in shadow job (#1946) 2022-06-10 06:57:25 +00:00
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
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
Harsh Shandilya
be1e840ffe
github: rename release.yml to deploy_github_releases.yml
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:36 +05:30
Harsh Shandilya
aff03e34a2
github: remove dependency-tree-diff workflow
We never extracted much value from it

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:36:13 +05:30
Harsh Shandilya
32e1ce17d0
github: add auto-cancel-redundant-workflow
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-12-07 13:36:13 +05:30
Harsh Shandilya
7bcdc09b92
github: add release workflow for library subprojects
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:17 +05:30
Harsh Shandilya
f19ca706e6
Update kotlinx.coroutines and WhatTheStack (#1177)
* build: bump coroutines, AndroidX test and WhatTheStack

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

* github: run dependency analysis workflow in pull_request_target context

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

* Downgrade AndroidX test back

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-27 09:42:32 +05:30
Harsh Shandilya
b8e07ae98c
github: add workflow to track dependency tree changes (#1176)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-26 16:55:13 +01:00
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
544ca59f4d
github: fix release draft workflow (#1152)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-13 12:48:02 +05:30
Harsh Shandilya
facc4d9163
github: update release draft workflow
Switch to $GITHUB_ENV since set-env has been deprecated

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-10 12:29:13 +05:30
Harsh Shandilya
927f228db5
github: update PSL workflow
- Use the pull request action utilized by GitHub for their own projects

- Switch to $GITHUB_ENV since set-env has been deprecated

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-10 12:25:08 +05:30
Harsh Shandilya
9dc56214b9 github: switch PR workflow from an allowlist to a blocklist
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-02 13:12:14 +00:00
Harsh Shandilya
cf0d20299d
github: run apiCheck task in pull requests
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01 19:11:21 +05:30
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
bfd9c1d776
github: remove nonFree flavor from tests (#1102)
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-17 01:00:21 +05:30
Vincent Breitmoser
0810273444
Autofill: Extract AutofillParser into separate subproject (#1101)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-09-16 23:47:55 +05:30
Harsh Shandilya
2c0ecdfb67
Fix changelog links (#1083)
* changelog: fix links

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

* github: prepend 'v' to version passed in changelog action

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-07 07:18:19 +02:00
Harsh Shandilya
258ccc6016
github: also run presubmit tests for buildSrc changes (#1074)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-03 12:03:41 +05:30
Harsh Shandilya
6f42586a8d
github: update workflows to use peter-evans/create-pull-request (#1072)
Turns out the workflow we use currently is far too unreliable.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-02 18:18:18 +05:30
Harsh Shandilya
1b8fedd8fa
github: switch to debug builds (#1037)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-21 02:38:58 +05:30
Harsh Shandilya
2732f9093e
github: set git config for PSL workflow (#1018)
user.name and user.email are not set by default in a standard Actions workflow

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-13 16:17:04 +05:30
Harsh Shandilya
729fc80255
github: fix derp in PSL update workflow (#983) 2020-07-29 13:08:38 +05:30
Harsh Shandilya
8c2a9a91ef
github: upload test reports on failure
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26 16:48:03 +05:30
Harsh Shandilya
e3cf73885c
Expand OTP and PasswordEntry tests (#968) 2020-07-24 14:33:55 +05:30
Harsh Shandilya
44846d1bde
github: create release as draft
Allows us to verify manually that the generated release is correct before we spam our users with notifications

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-22 15:28:04 +05:30
Harsh Shandilya
bf4955675a
github: fix paths to binaries
Fixes: 9fb492b572 ("Deploy both variants to snapshot directory (#914)")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-22 15:01:49 +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
2f657108b3
github: remove freeDebug variant from pull request matrix (#932)
We don't need this tested and it slows down CI.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-14 10:31:16 +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
a3eaefa50d
Rework GitHub Actions (#893) 2020-06-28 21:28:24 +05:30
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
eb31385102
Remove API 30 from pull request test matrix (#879)
* 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 bf33fb2c88.

* github: bump android-emulator-runner action

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-23 18:51:47 +05:30
Harsh Shandilya
fed8236738
Automate release steps (#849) 2020-06-18 12:01:18 +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
bf33fb2c88
github: run instrumentation tests against API 30 (#847) 2020-06-12 16:25:50 +05:30
Harsh Shandilya
340d870cce
github: run PSL update workflow weekly (#809)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-29 07:59:06 +02:00
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
d103d6d4ba
Add tests for GitServerConfigActivity (#783)
* Add tests for GitServerConfigActivity

* github: disable animations before running UI tests

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-17 01:14:09 +05:30
Fabian Henneke
d695d21497
Make APS buildable on F-Droid (#762)
* Include lib-publicsuffixlist in tree with proper license attribution

* Exclude lib-publicsuffixlist from code style

* Move applicationId to app/build.gradle

* build: add distributionSha256Sum to Gradle

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

* Initial workflow configuration for PSL update

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

* Initial check-in of PSL data

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

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-12 11:17:08 +02:00
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