File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed
Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 3030 with :
3131 cache-read-only : false # Allow writing to cache on main/dev branches
3232
33- - name : Build plugin
34- run : ./gradlew build --build-cache
35-
36- - name : Run Detekt
37- run : ./gradlew detekt --build-cache || true # Don't fail CI if Detekt finds issues
33+ - name : Build and analyze
34+ run : ./gradlew build detekt --build-cache
3835
3936 - name : Upload test results
4037 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 8383 run : |
8484 ./gradlew updateVersion -PnewVersion=${{ needs.validate-version.outputs.version }} --no-configuration-cache
8585
86- - name : Build plugin
87- run : ./gradlew buildPlugin --build-cache
88-
89- - name : Run tests
90- run : ./gradlew test --build-cache
91-
92- - name : Run Detekt
93- run : ./gradlew detekt --build-cache || true # Don't fail release if Detekt finds issues
86+ - name : Build, test, and analyze
87+ run : ./gradlew buildPlugin test detekt --build-cache
9488
9589 - name : Run Plugin Verifier
9690 run : ./gradlew runPluginVerifier --build-cache || true # Don't fail release if verifier has issues
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ detekt {
5555// Configure Detekt tasks
5656tasks.withType< io.gitlab.arturbosch.detekt.Detekt > ().configureEach {
5757 jvmTarget = " 17"
58+ ignoreFailures = true // Don't fail the build on Detekt issues
5859}
5960
6061tasks {
You can’t perform that action at this time.
0 commit comments