Skip to content

Commit

Permalink
Include scan flag in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
keizer619 committed Nov 26, 2024
1 parent 8f379d7 commit 06e84bc
Show file tree
Hide file tree
Showing 3 changed files with 5 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

0 comments on commit 06e84bc

Please sign in to comment.