WIP: Add a pre-commit hook and a checker to the ci
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
13
.woodpecker/code_tests.yaml
Normal file
13
.woodpecker/code_tests.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
steps:
|
||||
- name: Clippy linter
|
||||
image: rust:1.91.1-bullseye
|
||||
commands:
|
||||
- rustup component add clippy
|
||||
- cargo clippy
|
||||
- name: Unit tests
|
||||
image: rust:1.91.1-bullseye
|
||||
commands:
|
||||
- cargo test
|
||||
Reference in New Issue
Block a user