feature: Generate Dash License Report #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request | |
jobs: | |
build-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Run 'assemble' with Gradle Wrapper | |
run: ./gradlew assemble | |
- name: Run 'check' with Gradle Wrapper | |
run: ./gradlew ktlintCheck detekt | |
- name: Run 'test' with Gradle Wrapper | |
run: ./gradlew test -Dkotest.tags="!Integration" | |
- name: Create Dash Dependency Report | |
run: ./gradlew mergeDashFiles | |
- name: Dash license check | |
uses: ./.github/actions/check-dash | |
with: | |
dashinput: ${{github.workspace}}/build/oss/all/all-dependencies.txt |