Skip to content

Commit

Permalink
Merge pull request #376 from keizer619/master
Browse files Browse the repository at this point in the history
Include Gradle scan
  • Loading branch information
keizer619 authored Nov 26, 2024
2 parents 05b05ae + 06e84bc commit 13c82b4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
11 changes: 11 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
}

0 comments on commit 13c82b4

Please sign in to comment.