diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index c973258..36b21a2 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -22,6 +22,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.PUBLISH_PAT }} run: | - ./gradlew build jacocoTestReport + ./gradlew build jacocoTestReport --scan - name: Generate Codecov Report uses: codecov/codecov-action@v1 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index fb3ea2d..dbde8f1 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -35,7 +35,7 @@ jobs: packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }} packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | - ./gradlew release -Prelease.useAutomaticVersion=true + ./gradlew release -Prelease.useAutomaticVersion=true --scan - name: Create release id: create_release uses: actions/create-release@v1 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index f9ff1d1..f0d94f0 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -14,7 +14,7 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test + run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test --scan env: TEST_MODE_ACTIVE: true - name: Generate Codecov Report @@ -31,7 +31,7 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test + run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test --scan env: TEST_MODE_ACTIVE: true @@ -46,6 +46,6 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test + run: ./gradlew clean build jacocoTestReport --info --stacktrace -x test --scan env: TEST_MODE_ACTIVE: true diff --git a/settings.gradle b/settings.gradle index 36fbead..85b477d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,12 @@ +plugins { + id "com.gradle.enterprise" version "3.13.2" +} + rootProject.name = 'ballerina-command' + +gradleEnterprise { + buildScan { + termsOfServiceUrl = 'https://gradle.com/terms-of-service' + termsOfServiceAgree = 'yes' + } +}