srug-website/.woodpecker/checks.yaml
finga 1af426fbf3
Some checks failed
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
ci/woodpecker/push/release Pipeline failed
ci: Create a woodpecker pipelines
2024-06-07 16:21:57 +02:00

73 lines
1.4 KiB
YAML

---
steps:
target:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
failure: ignore
commands:
- rustup target add wasm32-unknown-unknown
fmt:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
failure: ignore
commands:
- rustup component add rustfmt
- cargo fmt --check --all
check:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
commands:
- cargo check
build:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
commands:
- cargo build
test:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
commands:
- cargo test
clippy:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
failure: ignore
commands:
- rustup component add clippy
- cargo clippy
doc:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
commands:
- cargo doc
audit:
when:
- event: push
image: rust
environment: [CARGO_TERM_COLOR=always]
pull: true
commands:
- cargo install cargo-audit
- cargo audit