diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88e0795..f93d95f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,7 @@ jobs: build: uses: opengood-aio/central-workflows/.github/workflows/gradle-lib-build.yml@main with: + run-code-coverage: true run-gradle-validation: true secrets: codecov-token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml index 1614678..0c98e9a 100644 --- a/.github/workflows/cancel.yml +++ b/.github/workflows/cancel.yml @@ -5,4 +5,4 @@ jobs: cancel: uses: opengood-aio/central-workflows/.github/workflows/workflow-cancel.yml@main secrets: - workflow-token: ${{ secrets.WORKFLOW_TOKEN }} \ No newline at end of file + workflow-token: ${{ secrets.WORKFLOW_TOKEN }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index dc5fdb1..ac22141 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,6 +16,4 @@ on: jobs: build: - uses: opengood-aio/central-workflows/.github/workflows/codeql-analyze.yml@main - with: - java-version: 21 + uses: opengood-aio/central-workflows/.github/workflows/java-kotlin-codeql-analyze.yml@main diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..54239f0 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,18 @@ +name: coverage + +on: + workflow_dispatch: + schedule: + # Automatically run every Sunday at midnight + - cron: '0 0 * * 0' + branches: + - main + +jobs: + coverage: + uses: opengood-aio/central-workflows/.github/workflows/java-kotlin-code-coverage.yml@main + with: + run-code-coverage: true + run-gradle-validation: true + secrets: + codecov-token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6892ad..ec956bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,8 +20,10 @@ jobs: with: git-email: ${{ vars.GIT_EMAIL }} git-user: ${{ vars.GIT_USER }} + run-code-coverage: true run-gradle-validation: true secrets: + codecov-token: ${{ secrets.CODECOV_TOKEN }} gpg-signing-key-id: ${{ secrets.GPG_SIGNING_KEY_ID }} gpg-signing-password: ${{ secrets.GPG_SIGNING_PASSWORD }} gpg-signing-private-key: ${{ secrets.GPG_SIGNING_PRIVATE_KEY }} diff --git a/.github/workflows/update-license-copyright.yml b/.github/workflows/update-license-copyright.yml index cdba388..cdecd95 100644 --- a/.github/workflows/update-license-copyright.yml +++ b/.github/workflows/update-license-copyright.yml @@ -9,4 +9,4 @@ jobs: update-license-copyright: uses: opengood-aio/central-workflows/.github/workflows/workflow-update-license-copyright.yml@main secrets: - workflow-token: ${{ secrets.WORKFLOW_TOKEN }} \ No newline at end of file + workflow-token: ${{ secrets.WORKFLOW_TOKEN }} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c6406bc..77c0b4f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/settings.gradle.kts b/settings.gradle.kts index 1c153bb..cfc18c9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,7 +6,7 @@ pluginManagement { } plugins { - id("io.opengood.gradle.settings") version "1.16.0" + id("io.opengood.gradle.settings") version "1.18.0" } rootProject.name = "rest-api-contracts" diff --git a/versions.properties b/versions.properties index d5af8db..bfcbfca 100644 --- a/versions.properties +++ b/versions.properties @@ -7,7 +7,7 @@ #### suppress inspection "SpellCheckingInspection" for whole file #### suppress inspection "UnusedProperty" for whole file -plugin.io.opengood.gradle.config=2.18.0 +plugin.io.opengood.gradle.config=2.21.0 plugin.org.springframework.cloud.contract=4.2.1