Commit Graph

15 Commits

Author SHA1 Message Date
Artur Bosch
ee49144114 Support Kotlin 1.4 (#2981)
* Update to Gradle 6.6

* Update to Kotlin 1.4

* Upgrade to prerelease of KtLint 0.38

* Fix testcase by unwrapping the original descriptor

* Increase max heap for dokka on Java 11

* Update minimal supported Gradle version to 5.3

* Do not run warningsAsErrors on CI due to Gradle not supporting Kotlin 1.4

* Remove new line testing as it fails on windows

* Require Gradle 5.4 to reflect Kotlin's required version from their website
2020-08-20 20:00:38 +02:00
Brais Gabín
14d6dae71d Simplify pre-merge.yaml (#2823) 2020-06-29 15:28:25 +02:00
Igor Manushin
0649ecebe5 Use parallel build options (#2808)
Add parallel option for gradle builds.

Probably it can improve #2680 after more and more modules introduction.

Timing examples:
* [Without parallel - ubuntu 8 - 4m 23s](https://github.com/detekt/detekt/pull/2779/checks?check_run_id=778117131).
* [With parallel - ubuntu 8 - 1m 21s](https://github.com/detekt/detekt/pull/2808/checks?check_run_id=778157588).
* [Without parallel - macos 8 - 6m 14s](https://github.com/detekt/detekt/pull/2779/checks?check_run_id=778117167).
* [With parallel - macos 8 - 3m 38s](https://github.com/detekt/detekt/pull/2808/checks?check_run_id=778157753).
2020-06-16 23:38:33 +02:00
Nicola Corti
27f3207169 Compile Test Snippets on Java 14 (#2803) 2020-06-16 11:11:52 +02:00
Nicola Corti
6a2fc953b4 Run compile-test-snippets in a isolated job (#2797)
* Run compile-test-snippets in a isolated job

* Remove extra build flag

* Update the gradle test command

* Compile snippets on Java 14

* Revert "Compile snippets on Java 14"
2020-06-15 08:45:20 +02:00
Nicola Corti
4ca022b560 Run verifyGeneratorOutput in a isolated job (#2796) 2020-06-14 10:04:14 +02:00
Nicola Corti
77fa5f03b9 Smarter Caching on Github Actions (#2788)
* Smarter Caching on Github Actions

* Update cache key to use the bom
2020-06-13 15:20:13 +02:00
Nicola Corti
00730679f1 Disable Gradle daemon on CI (#2780) 2020-06-08 00:54:13 +02:00
Artur Bosch
84fb690ffe Run in parallel by default (#2773)
* Run in parallel by default

* Remove --parallel and --build-cache flags from ci as they are now handled by gradle.properties
2020-06-05 20:26:35 +02:00
Nicola Corti
ea6fcbdd9d Bump actions/cache to v2 (#2746) 2020-05-28 18:24:34 +00:00
Brais Gabín
b6b0d38a9a Test against the last Java version (#2682) 2020-05-13 20:28:23 +02:00
Artur Bosch
d55cdbfb06 Run code coverage as an own action (#2622)
* Run code coverage as an own action

* Apply jacoco to all sub projects
2020-04-19 20:34:01 +02:00
Nicola Corti
b27ccf10ea Set failfast to false for pre-merge (#2618) 2020-04-19 15:53:55 +02:00
Nicola Corti
78ef00b538 Cleanup Gradle Folders (#2547) 2020-03-28 20:34:07 +01:00
Nicola Corti
4f768878b5 Setup GitHub Actions (#2512)
* Setup GH Actions

* Remove Trailing Spaces

* Do not cleanup before caching folders

* Update .buildscript/deploy_snapshot.sh

Co-Authored-By: Artur Bosch <arturbosch@gmx.de>

* Remove Build Scans

* Fixed Typo in buildscript

* Compile Scripts Test Snippets only on Java 8

* Stop Gradle

* Update Cache ID

* Add Comment on Gradle Stop step

Co-authored-by: Artur Bosch <arturbosch@gmx.de>
2020-03-28 07:46:28 +01:00