Commit Graph

42 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
3fc8f1aaec Use Parallel GC and bump RAM usage (#1734)
* Use Parallel GC and bump RAM usage

* Build only `app` project in `Build APKs (debug)` flow.

* Remove redundant JNA dependency
2023-11-03 10:34:49 +01:00
renovate[bot]
3ecd2318f9 Update gradle/gradle-build-action action to v2.9.0 2023-10-01 01:04:40 +00:00
renovate[bot]
9c17ec2f2f Update gradle/gradle-build-action action to v2.8.1 (#1426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 21:10:42 +02:00
renovate[bot]
5350c4af4b Update danger/danger-js action to v11.3.0 2023-09-22 16:42:07 +00:00
Benoit Marty
0ff92b4f92 Merge pull request #1220 from vector-im/renovate/actions-checkout-4.x
Update actions/checkout action to v4
2023-09-11 16:41:30 +02:00
Benoit Marty
6537bc1617 Just try using actions/checkout@v4 2023-09-11 14:51:12 +02:00
Jorge Martin Espinosa
b20d9f6973 De-duplicate sonar job in the CI (#1238)
* De-duplicate sonar job in the CI

* Remove workaround for `src/*/kotlin` folders

* Downgrade the sonarqube plugin version

* Try increasing workers for this job, since it's quite slow

* Warn about regression in latest sonarqube release

* Forbid backups to prevent cryptographic issues
2023-09-07 11:19:13 +00:00
renovate[bot]
dab1b0e0bf Update actions/checkout action to v4 2023-09-04 12:50:03 +00:00
renovate[bot]
8bae51ff5e Update gradle/gradle-build-action action to v2.8.0 2023-08-28 19:24:00 +00:00
renovate[bot]
091b2c1c44 Update gradle/gradle-build-action action to v2.7.1 2023-08-19 02:06:53 +00:00
Jorge Martín
067921a6de Revert merge queue CI optimizations 2023-08-17 17:17:03 +02:00
renovate[bot]
dcd5c2de7a Update danger/danger-js action to v11.2.8 (#1008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 09:47:09 +00:00
Jorge Martin Espinosa
89b1bba96e CI improvements (#1012) 2023-07-31 21:05:28 +02:00
Jorge Martin Espinosa
ffdf005507 Try to skip extra checks in the CI for up to date PRs in merge queue. (#1010)
* Try to skip extra checks in the CI for up to date PRs in merge queue.

* Try to simplify check

* Remove expression syntax from `if`s
2023-07-31 15:19:51 +00:00
Jorge Martin Espinosa
a1dd524471 Try to fix using the merge queue (#1009) 2023-07-31 13:35:38 +00:00
renovate[bot]
4e506667fb Update danger/danger-js action to v11.2.7 (#961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 07:02:07 +02:00
renovate[bot]
015b98d818 Update gradle/gradle-build-action action to v2.7.0 (#958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 08:07:48 +02:00
renovate[bot]
e4a7fcc60c Update gradle/gradle-build-action action to v2.6.1 (#893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 12:25:18 +02:00
Jorge Martin Espinosa
323a84db37 Disable Paparazzi tasks when Kover is running. (#884)
* Disable Paparazzi tasks when Kover is running.

It allows us to split the test jobs between unit tests, screenshot test and coverage reports.

* Move Sonar upload to the quality workflow, since we have no lint info in tests.
2023-07-17 10:55:51 +02:00
renovate[bot]
0ae3d25666 Update gradle/gradle-build-action action to v2.6.0 2023-07-10 20:05:51 +00:00
renovate[bot]
fb2b12cbd1 Update gradle/gradle-build-action action to v2.5.1 2023-06-29 19:30:55 +00:00
renovate[bot]
818c868f02 Update gradle/gradle-build-action action to v2.5.0 2023-06-28 22:27:46 +00:00
Chris Smith
5707aedfa2 GH Workflows: move deps check, fix nightly
Move the dependency check job from the quality workflow that
runs on every PR to the nightly reports workflow. This sometimes
flakes as it does a _lot_ of HTTP requests. It's less intrusive
if that happens outside of the PR workflow.

Also change the nightly job that runs tests to use LFS, so it
actually has access to screenshots :)

The sonar task is still broken, but it seems like an upstream bug:
https://community.sonarsource.com/t/sonar-plugin-4-1-0-3113-4-2-0-3129-errors/91568
2023-06-06 16:32:18 +01:00
Benoit Marty
7054224451 Search for forbidden patterns in Kotlin files. 2023-05-31 15:30:18 +02:00
Benoit Marty
dfeb4d3c91 Reduce logging level to --warn to reduce verbosity for testing and checking quality workflows. Keep default (lifecycle) for build workflow.
https://docs.gradle.org/current/userguide/logging.html
2023-05-25 12:09:18 +02:00
Benoit Marty
43070f7c59 Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
renovate[bot]
fa39a5ded8 Update danger/danger-js action to v11.2.6 2023-04-17 11:34:09 +00:00
Jorge Martin Espinosa
afd58f1634 Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
renovate[bot]
1ba6054301 Update danger/danger-js action to v11.2.5 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 09:24:55 +02:00
Jorge Martin Espinosa
4154a96b54 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit 4e085efcf4.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
4e085efcf4 Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
Michael Kaye
f246dd1ea4 Use the gradle plugin (same usage as in element-android) to standardise caching.
This may or may not speed up build times.
2023-03-07 13:32:32 +00:00
dependabot[bot]
64eb520491 Bump danger/danger-js from 11.2.3 to 11.2.4
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.2.3 to 11.2.4.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.2.3...11.2.4)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 09:16:36 +00:00
Jorge Martin Espinosa
633f65e557 CI: make sure Paparazzi test failures stop the test flow (#117)
* Run Paparazzi tests just once when koverMergedReport is used.
* Make sure a Paparazzi failure breaks the test flow and blocks merging.
* Change ./gradlew check call in quality.yml to custom runQualityChecks task.
2023-03-02 09:15:47 +01:00
Benoit Marty
da90d1312c fix path 2023-02-07 22:13:39 +01:00
Benoit Marty
312cc4ce22 Kover: add verify rules: global and for Presenters 2023-02-07 16:29:57 +01:00
dependabot[bot]
8486f79b21 Bump danger/danger-js from 11.2.2 to 11.2.3
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.2.2 to 11.2.3.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.2.2...11.2.3)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 22:11:51 +00:00
dependabot[bot]
44e0d6d368 Bump danger/danger-js from 11.2.1 to 11.2.2
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.2.1 to 11.2.2.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.2.1...11.2.2)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 22:14:35 +00:00
Benoit Marty
aeced8a70f Merge pull request #31 from vector-im/feature/bma/checkDep
Set up dependency check plugin
2023-01-09 17:23:09 +01:00
dependabot[bot]
aadf656672 Bump danger/danger-js from 11.2.0 to 11.2.1
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.2.0...11.2.1)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 22:11:45 +00:00
Benoit Marty
e43b654a1b Set up dependency check plugin 2023-01-06 17:03:35 +01:00
Benoit Marty
92b06ced6b Add quality workflow and Danger files. 2022-12-09 12:06:37 +01:00