Skip to content

Commit 41aa05a

Browse files
authored
Merge pull request #238 from trz42/sync_nessi_eessi_add_ci_test_licenses
add CI for testing licenses
2 parents 0059519 + 9909e11 commit 41aa05a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
2+
name: Test software licenses
3+
on: [push, pull_request]
4+
permissions:
5+
contents: read # to fetch code (actions/checkout)
6+
jobs:
7+
build:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- name: Check out software-layer repository
11+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
12+
13+
- name: set up Python
14+
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
15+
with:
16+
python-version: '3.9'
17+
18+
- name: Check software licenses
19+
run: |
20+
python licenses/spdx.py licenses/licenses.json

0 commit comments

Comments
 (0)