Commit Graph

107 Commits

Author SHA1 Message Date
Benoit Marty
42d9efbeb9 Apply zizmor autofix
Command: `zizmor --fix=all .`
2026-03-05 15:39:54 +01:00
Benoit Marty
bb48fb7fd1 Use commit instead of version for github actions. 2026-03-05 15:39:54 +01:00
Benoit Marty
cd5d8fb868 Add zizmorcore/zizmor-action 2026-03-05 15:01:52 +01:00
Jorge Martin Espinosa
99ddadd0fa Fix nightly CI issues (#6263)
* Reduce max heap size from 9GB to 8GB for all CI jobs using gradle
2026-02-27 09:31:50 +00:00
renovate[bot]
5547b532b1 Update GitHub Artifact Actions (#6260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-27 09:55:47 +01:00
Jorge Martin Espinosa
3a856394f2 Add free disk space action to CI actions (#6212)
* Add free disk space action

* Remove 'upload APK for Maestro' step since it's no longer used

* Re-enable tool-cache removal

* Add the free disk space step to other gradle-related jobs

* Use commit SHA

* Disable removing `large-packages`
2026-02-18 22:55:50 +01:00
renovate[bot]
861ee714b4 Update GitHub Artifact Actions (#5932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:38:26 +01:00
renovate[bot]
2415297eba chore(deps): update actions/checkout action to v6 (#5805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-26 10:28:38 +01:00
ganfra
90a53552d7 Merge pull request #5609 from element-hq/renovate/major-github-artifact-actions
Update GitHub Artifact Actions (major)
2025-11-04 11:45:21 +01:00
renovate[bot]
f7e28346d6 chore(deps): update danger/danger-js action to v13.0.5 (#5652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 13:18:26 +00:00
renovate[bot]
5c88c78316 chore(deps): update github artifact actions 2025-10-25 00:13:11 +00:00
renovate[bot]
f595985fb5 chore(deps): update dependency python to 3.14 (#5475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 10:38:10 +02:00
Benoit Marty
45a3018b11 Add new tool to the list of CI checks 2025-10-09 18:22:41 +02:00
renovate[bot]
f212d3f500 chore(deps): update gradle/actions action to v5 (#5444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-03 16:49:43 +02:00
renovate[bot]
8574d5cfe8 Update actions/setup-python action to v6 (#5270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 09:37:22 +02:00
renovate[bot]
906583e8a5 Update actions/setup-java action to v5 (#5196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 08:35:01 +02:00
renovate[bot]
ffe183c952 Update actions/checkout action to v5 (#5148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 13:37:56 +00:00
renovate[bot]
a90400f0b1 Update dependency python to 3.13 (#5144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 08:43:04 +02:00
renovate[bot]
c60f14c20a Update actions/download-artifact action to v5 (#5122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-06 14:56:26 +02:00
Benoit Marty
2343c5ec9a Remove scandir param, it seems that it is not recursive 2025-06-30 17:00:57 +02:00
Benoit Marty
716827e8bc Pin commit sha on GitHub actions (#4653)
* Use Git SHA instead of version.

* Use version instead of main branch.
2025-04-29 09:08:06 +02:00
renovate[bot]
ba959470d8 chore(deps): update danger/danger-js action to v13.0.4 (#4596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 10:05:55 +02:00
renovate[bot]
253cec4ffc chore(deps): update webfactory/ssh-agent action to v0.9.1 2025-03-17 15:50:23 +00:00
Benoit Marty
3304689289 Fix typo on job name. 2025-03-04 09:57:14 +01:00
Jorge Martin Espinosa
28b8b4539a runQualityChecks task shouldn't fail fast (#4309)
* `runQualityChecks` task shouldn't fail fast

Make sure we run every task it depends on so we get a list with all the issues instead of having to retry several times.

* Tweak `runQualityChecks` to make sure all Android lint tasks run

* Use the right check in the quality flow

* Fix Norwegian translations that caused a `Typos` error
2025-02-26 18:34:15 +01:00
renovate[bot]
9be8c20bfc chore(deps): update danger/danger-js action to v12.3.4 2025-02-11 17:03:08 +00:00
Jorge Martin Espinosa
8c97e05733 Disable configuration cache in the CI by default (#3601) 2024-10-04 13:57:46 +02:00
Jorge Martin Espinosa
60f1bf6e54 Upgrade the used JDK in the project to v21 (#3582)
* Upgrade the used JDK in the project to v21

* Use it for CI too

* Centralise java language version

* Fix deprecations, tests and lint issues

* Fix coverage taking into account `@Preview` annotated code.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-03 09:38:03 +00:00
Jorge Martin Espinosa
4a43fcb69a Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
Jorge Martin Espinosa
199893c701 Try adding a memory limit for the kotlin compiler (#3377)
* Try adding a memory limit for the kotlin compiler

* Tweak values for all flows
2024-09-04 19:33:50 +00:00
renovate[bot]
5c24587c53 Update gradle/actions action to v4 (#3265)
* Update gradle/actions action to v4

* Remove unnecessary gradle validation after action update to v4

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-08-09 15:03:14 +02:00
Jorge Martin Espinosa
bbe1dc4952 Fix CI for forks (#3226)
* Try with a different condition for forks

* Skip danger in forks, the fallback token won't let it write comments in PRs anyway
2024-07-19 17:46:56 +02:00
Jorge Martin Espinosa
508b7e48e3 Only add private SSH keys and clone submodules in the original repo (#3225) 2024-07-19 17:25:49 +02:00
Benoit Marty
9a4ec53612 Do not clone submodules in forks. 2024-07-01 12:20:15 +02:00
Benoit Marty
d19829b845 Apply quality checks to Element Enterprise modules. 2024-06-26 11:59:43 +02:00
renovate[bot]
b591a1a8b1 Update danger/danger-js action to v12.3.3 (#3059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 15:38:49 +02:00
renovate[bot]
4977e1f4ef Update danger/danger-js action to v12.3.2 2024-06-19 08:14:28 +00:00
Benoit Marty
463ce89a8a Fix script on CI 2024-06-14 10:27:03 +02:00
Benoit Marty
b2c570df03 Add Python script to check for invalid dependencies - keeping the existing errors to check that the CI works as expected. 2024-06-14 09:29:23 +02:00
Jorge Martin Espinosa
f3fa7e57a5 Try to workaround OOM errors and the runners dying (#3013)
* Try to workaround OOM errors and the runner dying

* Some more tweaks:

- Add `-XX:MaxMetaspaceSize` (https://github.com/gradle/gradle/issues/19750)
- Remove `-PpreDexEnable` as it's deprecated and no longer used.
- Remove `--max-workers` as gradle will automatically use the optimal amount.

* Remove `--max-workers` in recording screenshots too
2024-06-12 15:35:51 +02:00
Benoit Marty
02e42ab92f shellcheck: only fails on warnings for now. 2024-06-11 17:51:32 +02:00
Benoit Marty
1ec38573b6 shellcheck: only fails on error for now. 2024-06-11 17:50:45 +02:00
Benoit Marty
e8555d2ea7 Add shellcheck to quality checks 2024-06-11 15:22:12 +02:00
renovate[bot]
f789a268d0 Update danger/danger-js action to v12.3.1 2024-06-05 07:23:05 +00:00
Jorge Martin Espinosa
0bf4819de2 Try fixing OOM by changing GC and adding RAM to the kotlin compiler (#2965)
* Try fixing OOM by changing GC and adding RAM to the kotlin compiler

* Add gradle cache to build apk job in maestro flow.

- Remove unnecessary dependency in `:features:call` module.

* Fix sonar in nightly reports

* Bump heap size of nightly reports
2024-06-03 11:28:51 +02:00
Jorge Martin Espinosa
921e63680c Bump max heap size for building the debug APK for Maestro (#2960)
* Bump max heap size for building the debug APK for Maestro
* Enable `sonar.gradle.skipCompile`
* Fix sonar job
* Bump the MaxMetaspaceSize
* Don't try to upload failed test results to codecov, it doesn't work
2024-05-31 14:44:33 +00:00
renovate[bot]
4484a2681a Update danger/danger-js action to v12.3.0 2024-05-24 08:03:41 +00:00
Jorge Martin Espinosa
6e22f5bea3 Try to fix CI quality flow (#2880)
* Fix CI quality step:
    - Remove the `onCheck` property in the different Kover verify variants in case they caused this.
    - Try splitting quality flow per check to avoid OOM issues.
2024-05-20 12:15:43 +02:00
Benoit Marty
df541f6ac1 Use Python 3.12 to be able to use match structure. 2024-05-13 12:08:05 +02:00
renovate[bot]
e061ddb462 Update danger/danger-js action to v12.2.0 (#2804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 17:25:28 +02:00