Skip to content

Commit

Permalink
chore(dash): added dash run workflow to scan java and javascript depe…
Browse files Browse the repository at this point in the history
…ndencies
  • Loading branch information
saudkhan116 committed Jun 25, 2024
1 parent 53f385d commit 212d1a4
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/eclipse-dash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
- '**/pom.xml'

jobs:
check-licenses-java:
check-licenses-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -59,7 +59,7 @@ jobs:
cd dpp-backend/digitalproductpass
mvn --batch-mode --update-snapshots verify -Ddash.fail=true -DskipTests
- name: Ensure DEPENDENCIES file is reflecting the current state
- name: Ensure DEPENDENCIES_BACKEND file is reflecting the current state
run: |
cd dpp-backend/digitalproductpass
mvn org.eclipse.dash:license-tool-plugin:license-check -Ddash.summary=DEPENDENCIES-generated
Expand All @@ -69,4 +69,22 @@ jobs:
if: always()
uses: actions/upload-artifact@v3
with:
path: 'target/dash/summary'
path: 'dpp-backend/digitalproductpass/target/dash/summary'

check-licences-frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run dash
id: run-dash
uses: ./.github/actions/run-dash
with:
dash_input: " dpp-frontend/package-lock.json"

- name: upload results
if: always()
uses: actions/upload-artifact@v3
with:
path: 'dpp-frontend'

0 comments on commit 212d1a4

Please sign in to comment.