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>
14 lines
246 B
YAML
14 lines
246 B
YAML
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
|