14 lines
372 B
YAML
14 lines
372 B
YAML
steps:
|
|
build:
|
|
image: rust
|
|
when:
|
|
- event: pull_request
|
|
repo: kemitix/podal
|
|
- event: push
|
|
branch: main
|
|
commands:
|
|
- rustup component add rustfmt clippy
|
|
- cargo --version
|
|
- cargo fmt --check
|
|
- cargo clippy --fix -- -Dwarnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used
|
|
- cargo test
|