Skip to content

Commit

Permalink
✨ feat(.github/workflows/gradle-tests.yml): Add dependency submissi…
Browse files Browse the repository at this point in the history
…on and scan options for Gradle tests.
  • Loading branch information
vnobo committed Dec 23, 2024
1 parent 47cf729 commit 4dea7a3
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/gradle-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,10 @@ jobs:
- name: Build with Gradle Wrapper
run: |
chmod +x ./gradlew
./gradlew build --scan
./gradlew test --scan
dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21 for x64
uses: actions/setup-java@v4
with:
version: 'latest'
java-version: '21'
distribution: 'liberica'
check-latest: true
cache: 'gradle'
./gradlew test
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
uses: gradle/actions/dependency-submission@v4
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"

0 comments on commit 4dea7a3

Please sign in to comment.