Add REUSE example (#57) All checks were successful ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This adds a very simple example to lint a project with REUSE. The fsfe/reuse base image is just alpine with the reuse-tool installed. Reviewed-on: #57 Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Thiago Sueto <herzenschein@gmail.com> Co-committed-by: Thiago Sueto <herzenschein@gmail.com>
This commit is contained in:
parent 25e44aa1d0
commit e8082e4838
3 changed files with 13 additions and 0 deletions
| @ -22,6 +22,7 @@ steps: | |||
- woodpecker-cli lint NodeJS/ | ||||
- woodpecker-cli lint Python/ | ||||
- woodpecker-cli lint R/ | ||||
- woodpecker-cli lint REUSE/ | ||||
- woodpecker-cli lint Rust/ | ||||
- woodpecker-cli lint StandardML/ | ||||
- woodpecker-cli lint Tectonic/ | ||||
| |
| @ -24,6 +24,7 @@ Pull requests are welcome! | |||
| [Python/.woodpecker/code-quality.yaml](Python/.woodpecker/code-quality.yaml) | Python | Python venv | Standard CI pipeline to test Python packages code on multiple Python distributions. For details check [serial-sphinx](https://codeberg.org/sail.black/serial-sphinx.git) | | ||||
| [Python/.woodpecker/pdoc.yaml](Python/.woodpecker/pdoc.yaml) | Python | Python venv | Build API documentation with pdoc & publish files on a pages branch | | ||||
| [R/.woodpecker.yaml](Typst/.woodpecker.yaml) | R | R | Installs R package dependencies and runs R CMD check | | ||||
| [REUSE/.woodpecker.yaml](REUSE/.woodpecker.yaml) | --- | --- | Lints a project for REUSE licensing compliance. For details, check [reuse-tool](https://reuse.software/) and [SPDX](https://spdx.dev/) | | ||||
| [Rust/.woodpecker.yaml](Rust/.woodpecker.yaml) | Rust | cargo | Simple CI pipeline to run cargo commands | | ||||
| [StandardML/.woodpecker.yaml](StandardML/.woodpecker.yaml) | Standard ML | sml | Simple CI pipeline to run SML files | | ||||
| [Tectonic/.woodpecker.yaml](Tectonic/.woodpecker.yaml) | LaTeX | Tectonic | Builds a TeX file and pushes the resulting PDF file to a given repository. | | ||||
| |
11 REUSE/.woodpecker.yaml Normal file
11
REUSE/.woodpecker.yaml Normal file | @ -0,0 +1,11 @@ | |||
# SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V. | ||||
# SPDX-FileCopyrightText: 2024 Thiago Masato Costa Sueto <thiago.sueto@kde.org> | ||||
# SPDX-License-Identifier: CC-BY-SA-4.0 | ||||
steps: | ||||
lint: | ||||
image: fsfe/reuse | ||||
when: | ||||
branch: [main] | ||||
event: [push, pull_request] | ||||
commands: | | ||||
reuse lint |
Loading…
Add table
Add a link
Reference in a new issue