Skip to content

Commit

Permalink
feature: Replace "Check-Dash" GitHub Action with Kuksa Shared Action
Browse files Browse the repository at this point in the history
Closes: #37
Signed-Off-By: Andre Weber <[email protected]>
  • Loading branch information
wba2hi committed Nov 17, 2023
1 parent 21da7fa commit f7a3d92
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 38 deletions.
30 changes: 0 additions & 30 deletions .github/actions/check-dash/action.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- 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

- name: Run 'assemble' with Gradle Wrapper
run: ./gradlew assemble

Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/dash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: dash

on:
pull_request

jobs:
check-dash:
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: Create Dash Dependency Report
run: ./gradlew mergeDashFiles

- name: Dash license check
uses: eclipse-kuksa/kuksa-actions/check-dash@2
with:
dashinput: ${{github.workspace}}/build/oss/all/all-dependencies.txt

0 comments on commit f7a3d92

Please sign in to comment.