File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 66 branches :
77 - ' main'
88
9+ permissions :
10+ contents : write # https://github.com/gradle/actions/blob/main/setup-gradle/README.md#basic-usage
11+
912jobs :
1013 build_and_test_with_code_coverage :
1114 name : Build, test and upload code coverage
@@ -20,12 +23,14 @@ jobs:
2023 with :
2124 distribution : temurin
2225 java-version : 11
23- - uses : gradle/gradle-build-action@v2
24- name : build and test
26+ - uses : gradle/actions/setup-gradle@v3
27+ name : Setup Gradle
2528 with :
26- arguments : check build -x detekt -Pdetekt.multiplatform.disabled=true --scan
2729 gradle-version : wrapper
30+ cache-encryption-key : ${{ secrets.GRADLE_ENCRYPTION_KEY }}
2831 dependency-graph : generate-and-submit
32+ - name : build and test
33+ run : ./gradlew check build -x detekt -Pdetekt.multiplatform.disabled=true --scan
2934 - name : Upload test reports
3035 if : ${{ failure() }} # runs only if previous step has failed, the entire workflow will still be marked as failed
3136 uses : actions/upload-artifact@v4
3843 flags : unittests
3944 fail_ci_if_error : true # optional (default = false)
4045
41- - uses : gradle/gradle-build-action@v2
42- name : run detekt
43- with :
44- arguments : check -Pdetekt.multiplatform.disabled=false -PdetektAutoCorrect=true
45- gradle-version : wrapper
46+ - name : run detekt
47+ run : ./gradlew check -Pdetekt.multiplatform.disabled=false -PdetektAutoCorrect=true
4648 - run : git status && git diff
4749 if : ${{ always() }}
4850 - uses : reviewdog/action-suggester@v1
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionSha256Sum =3e1af3ae886920c3ac87f7a91f816c0c7c436f276a6eefdb3da152100fef72ae
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -bin.zip
3+ distributionSha256Sum =9631d53cf3e74bfa726893aee1f8994fee4e060c401335946dba2156f440f24c
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.6 -bin.zip
55networkTimeout =10000
66validateDistributionUrl =true
77zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pluginManagement {
66}
77
88plugins {
9- id(" com.gradle.enterprise" ) version(" 3.15.1 " )
9+ id(" com.gradle.enterprise" ) version(" 3.16.2 " )
1010 id(" org.ajoberstar.reckon.settings" ) version(" 0.18.0" )
1111}
1212
You can’t perform that action at this time.
0 commit comments