Add linting pipeline (#22)

close #13

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/22
This commit is contained in:
6543 2023-03-11 02:52:13 +00:00
parent 669defea9e
commit 3dfb0b7226
2 changed files with 17 additions and 1 deletions

17
.woodpecker.yml Normal file
View File

@ -0,0 +1,17 @@
pipeline:
editor-config:
image: mstruebing/editorconfig-checker
group: lint
woodpecker-cli:
group: lint
image: woodpeckerci/woodpecker-cli:next-alpine
commands:
- woodpecker-cli lint golang/*.yml
- woodpecker-cli lint Docker/*.yml
- woodpecker-cli lint Hugo/*.yml
- woodpecker-cli lint Jekyll/jekyll.yml
- woodpecker-cli lint C/*.yml
- woodpecker-cli lint Rust/
- woodpecker-cli lint Python/
- woodpecker-cli lint tectonic/

View File

@ -18,7 +18,6 @@
# Secrets to set up:
# - CBTOKEN: an Access Tokens generated from your Codeberg profile;
# - CBMAIL: an email address to author the commit containing the PDF file.
name: Tectonic
pipeline:
build: