Commit Graph

58 Commits

Author SHA1 Message Date
Adam Brown b0f73b029c upping the jvm limit but keeping the kotlin daemon constrained 2022-08-04 10:00:47 +01:00
Adam Brown b625d6a9bc reducing CI workers to github VM limit 2022-08-03 15:53:27 +01:00
Adam Brown c6e263a6d3 allowing parallel builds to occur now that the memory is constrained 2022-08-03 15:45:57 +01:00
Adam Brown ee553d6693 making use of gradle_opts environment var to attempt to limit the jvm environment and fix gradle crashing 2022-08-03 15:40:01 +01:00
Benoit Marty 66fa285910 Call the correct command for knit
See https://github.com/Kotlin/kotlinx-knit#tasks
2022-07-29 10:02:40 +02:00
Benoit Marty 4d62e75c65 Get all the reports, in all the formats 2022-07-29 10:02:40 +02:00
Benoit Marty b77475a3d9 Gradle daemon does not stop to get killed, try to split lint check in 2 steps 2022-07-29 10:02:40 +02:00
Benoit Marty a062093acf Merge jobs that generate XML reports together
So that Danger can report all errors from generated XML files
2022-07-29 10:02:40 +02:00
Benoit Marty 630a981864 No need for ktlint comment, Danger will inline comment 2022-07-29 10:02:40 +02:00
Benoit Marty 56691f613e Setup Danger to Element Android project. 2022-07-29 10:02:40 +02:00
Benoit Marty 7ab7d7cc80 Comment the GHA towncrier, there is a syntax error 2022-07-12 10:29:49 +02:00
Benoit Marty d524f1a7d4 Group if together 2022-07-11 17:03:09 +02:00
Benoit Marty 6feca4badf Indentation, move comment above the block. 2022-07-11 12:41:17 +02:00
Benoit Marty 63419fcf5e Do the check on towncrier only for PR targeting develop branch 2022-07-11 12:38:45 +02:00
Benoit Marty 1fd0fe504d Format file 2022-07-11 12:37:35 +02:00
Benoit Marty 1e0799d5b0 shorter name 2022-07-06 11:53:13 +02:00
Benoit Marty 0776d394bc Add GitHub action to check for a towncrier file 2022-07-06 11:51:30 +02:00
Benoit Marty e44c9aa126 Try no using the gradle daemon on CI 2022-06-28 15:36:07 +02:00
Benoit Marty dc63d41c97 Harmonize values of `CI_GRADLE_ARG_PROPERTIES` 2022-06-28 15:35:04 +02:00
Adam Brown eef904b3d5 applying jvm memory settings to CI linting tasks
- should stop the task crashing on the CI
2022-06-23 16:35:37 +01:00
Benoit Marty daa571957a Replace task by much faster `dependencyCheckAnalyze` 2022-06-17 13:20:37 +02:00
Olivér Falvai 2802a714ab Fix concurrency group 2022-05-26 08:36:12 +02:00
Olivér Falvai 4290945118 Enable parallelism 2022-05-19 12:09:45 +02:00
Olivér Falvai bc050d3030 Tweak JVM memory settings 2022-05-19 12:08:17 +02:00
Olivér Falvai 464735f829 Move dependency analysis to its own job 2022-05-19 11:31:32 +02:00
Olivér Falvai c093b3476f Limit parallel Gradle tasks 2022-05-19 10:57:06 +02:00
Olivér Falvai 86663ec073 Fine tune dependency analysis, add CI workflow 2022-05-18 18:47:52 +02:00
Benoit Marty d562ab35ad Setup Knit in the CI to check content of `md` files 2022-05-16 12:23:10 +02:00
Benoit Marty 911bfe2081 Let GA run detekt 2022-05-12 17:02:22 +02:00
dependabot[bot] 77dd697f53
Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 23:08:54 +00:00
Adam Brown abbf798ccf
Merge pull request #5655 from vector-im/dependabot/github_actions/peter-evans/find-comment-2
Bump peter-evans/find-comment from 1 to 2
2022-03-29 12:00:24 +01:00
dependabot[bot] 6269a3357b
Bump peter-evans/create-or-update-comment from 1 to 2
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:38 +00:00
dependabot[bot] 01bb49d963
Bump peter-evans/find-comment from 1 to 2
Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/find-comment/releases)
- [Commits](https://github.com/peter-evans/find-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/find-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:35 +00:00
dependabot[bot] 6fd207764d
Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:03:30 +00:00
dependabot[bot] 9c18088128
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:05:24 +00:00
David Langley 9832f1e8e8
Add matrix.target to apk-lint concurrency group for develop branch.
Co-authored-by: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
2022-02-24 16:28:14 +00:00
David Langley 8fc1f3c1aa
Fix ktlint typo
Co-authored-by: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
2022-02-24 16:26:22 +00:00
David Langley 93c6216269 Add descriptions of concurrencies 2022-02-23 23:13:30 +00:00
David Langley d561ad6acd include matrix.target in apk-lint group 2022-02-23 23:04:18 +00:00
David Langley cf7417d544 Have to inline it as can't use env vars in other env vars. 2022-02-23 22:58:51 +00:00
David Langley 355931a592 add env prefix. 2022-02-23 22:42:11 +00:00
David Langley 8c65285ec5 try multiline expression for group sufficx 2022-02-23 22:37:19 +00:00
David Langley 43c125ed32 Use matrix.target to fix build group. Use env vars to clean up. 2022-02-23 22:16:24 +00:00
David Langley 639774662a Add concurrency checks for unit tests, build and quality checks. 2022-02-23 18:11:46 +00:00
ariskotsomitopoulos 8e90864e1f add changelog file for threads feature 2022-02-01 17:37:05 +02:00
Aris Kotsomitopoulos 24a1afddd9
Revert "Bump actions/github-script from 3 to 5.1.0" 2022-01-11 16:31:24 +02:00
dependabot[bot] 48944eabcc
Bump actions/github-script from 3 to 5.1.0
Bumps [actions/github-script](https://github.com/actions/github-script) from 3 to 5.1.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3...v5.1.0)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 23:03:21 +00:00
ariskotsomitopoulos 71fbc3c5c7 - Do not add GitHub comments on successful ktlint runs
- Remove already existing comments when ktlint succeed
2022-01-10 13:07:18 +02:00
ariskotsomitopoulos 5b6e70b1b4 While abortOnError = true for linter, lets always build the reports on error 2022-01-07 16:32:18 +02:00
ariskotsomitopoulos 33a4eac7d2 - Fix github actions ktlint reports
- Publish results on PR via commenting
- Support for all modules along with tests
- Code format & emoticons
2022-01-06 00:26:47 +02:00