mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
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
This commit is contained in:
4
.github/workflows/pre-merge.yaml
vendored
4
.github/workflows/pre-merge.yaml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
|
||||
- name: Build detekt (UNIX)
|
||||
run: ./gradlew build shadowJar --build-cache --parallel -PwarningsAsErrors=true -Pcompile-test-snippets=$COMPILE_TEST_SNIPPETS
|
||||
run: ./gradlew build shadowJar -PwarningsAsErrors=true -Pcompile-test-snippets=$COMPILE_TEST_SNIPPETS
|
||||
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
|
||||
- name: Run detekt-cli --help (UNIX)
|
||||
run: java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar --help
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
|
||||
|
||||
- name: Build detekt (WIN)
|
||||
run: ./gradlew build installShadowDist --build-cache --parallel -PwarningsAsErrors=true -Pcompile-test-snippets=%COMPILE_TEST_SNIPPETS%
|
||||
run: ./gradlew build installShadowDist -PwarningsAsErrors=true -Pcompile-test-snippets=%COMPILE_TEST_SNIPPETS%
|
||||
if: matrix.os == 'windows-latest'
|
||||
- name: Run detekt-cli --help (WIN)
|
||||
run: detekt-cli\build\install\detekt-cli-shadow\bin\detekt-cli --help
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
kotlin.code.style=official
|
||||
systemProp.sonar.host.url=http://localhost:9000
|
||||
systemProp.file.encoding=UTF-8
|
||||
org.gradle.parallel=true
|
||||
org.gradle.caching=true
|
||||
|
||||
Reference in New Issue
Block a user