Skip to content

Commit

Permalink
Merge pull request #38 from boschglobal/feature-37
Browse files Browse the repository at this point in the history
Replace "Check-Dash" GitHub Action with Kuksa Shared Action
  • Loading branch information
SebastianSchildt authored Nov 17, 2023
2 parents 21da7fa + 18b513f commit 4f1b495
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 40 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
4 changes: 2 additions & 2 deletions .github/workflows/check_license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Set license
run: |
echo "licenses=Apache-2.0" >> $GITHUB_ENV
- uses: eclipse-kuksa/kuksa-actions/.github/actions/spdx@1
- uses: eclipse-kuksa/kuksa-actions/spdx@2
with:
files: "${{ env.files }}"
licenses: "${{ env.licenses }}"
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 4f1b495

Please sign in to comment.