Skip to content

Commit

Permalink
Merge pull request #32 from swaroopar/feature/addDashTool
Browse files Browse the repository at this point in the history
add dash tool job
  • Loading branch information
iskey authored Dec 18, 2023
2 parents 4731616 + 4424d17 commit 8c006d7
Show file tree
Hide file tree
Showing 3 changed files with 657 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/licenses-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.
#
name: license-check

# Run this workflow every time a new commit push to the repository
on:
push:
branches: ['main']
pull_request:
branches: ['main']
env:
DASH_TOOL_VERSION: 1.1.0

jobs:
third-party-license-check:
runs-on: ubuntu-latest
steps:
- name: Set Up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
- name: Checkout
uses: actions/checkout@v4
- name: Download Eclipse Dash Tool Jar
run: wget https://repo.eclipse.org/service/local/repositories/dash-licenses-releases/content/org/eclipse/dash/org.eclipse.dash.licenses/${{ env.DASH_TOOL_VERSION }}/org.eclipse.dash.licenses-${{ env.DASH_TOOL_VERSION }}.jar
- name: Run License Validation
run: java -jar org.eclipse.dash.licenses-${{ env.DASH_TOOL_VERSION }}.jar go.sum
# To be enabled once the initial IP check is completed by EF team.
continue-on-error: true
Loading

0 comments on commit 8c006d7

Please sign in to comment.