Add CI pipelines and pre-commit hooks
All checks were successful
ci/woodpecker/push/code_tests Pipeline was successful
ci/woodpecker/push/pre_commit_test Pipeline was successful

Now we have a very basic CI pipeline for running tests and executing
linter, as well as a pre-commit hook that is checking basic code related
stuff. The pre-commit hook is executed as a part of pipelines as well

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-11-23 17:58:05 +01:00
parent 6fe5bb6d60
commit 2f17df8064
6 changed files with 49 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
when:
event:
- push
steps:
- name: Pre commit validation
image: codeberg.org/sp1thas/woodpecker-ci-pre-commit-runner
settings:
args: "--all-files"