ci: show license sort order

This commit is contained in:
Ben Grande 2024-07-08 18:55:24 +02:00
parent ca143746b9
commit 49fb82a177
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56

View File

@ -35,13 +35,17 @@ jobs:
fetch-depth: 0 fetch-depth: 0
submodules: recursive submodules: recursive
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
- name: Show environment
run: env
- name: Update package list - name: Update package list
run: sudo apt-get update -y run: sudo apt-get update -y
- name: Install OS packages - name: Install OS packages
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
run: sudo apt-get install -y $(cat dependencies/debian.txt) run: sudo apt-get install -y $(cat dependencies/debian.txt)
- name: Show how licenses are rendered order
run: |
reuse --root salt/dom0 lint || true
./scripts/spec-get.sh dom0 license
./scripts/spec-get.sh dom0 license_csv
./scripts/spec-gen.sh test dom0
- name: Remove externally managed python environment flag - name: Remove externally managed python environment flag
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
run: sudo dpkg-divert --rename --add /usr/lib/$(py3versions -d)/EXTERNALLY-MANAGED run: sudo dpkg-divert --rename --add /usr/lib/$(py3versions -d)/EXTERNALLY-MANAGED