-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from evelikov/spdx-and-reuse
Add the final SPDX identifiers, alongside reuse-lint CI workflow
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# SPDX-FileCopyrightText: 2024 Emil Velikov <[email protected]> | ||
# SPDX-FileCopyrightText: 2024 Lucas De Marchi <[email protected]> | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# SPDX-FileCopyrightText: 2024 Emil Velikov <[email protected]> | ||
# SPDX-FileCopyrightText: 2024 Lucas De Marchi <[email protected]> | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
|
||
name: Build and Test | ||
|
||
on: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# SPDX-FileCopyrightText: 2024 Emil Velikov <[email protected]> | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
|
||
name: Reuse Lint | ||
|
||
on: | ||
push: | ||
branches: [master, ci-test] | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: "30 2 * * 0" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
reuse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the project | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies | ||
run: | | ||
_version=$(grep -o "reuse-.*" usbutils.spdx | cut -f2 -d'-') | ||
pip install reuse~=$_version | ||
- name: Check SPDX identifiers | ||
run: reuse lint |