Vapora/.woodpecker/ci.yml

46 lines
1.3 KiB
YAML
Raw Normal View History

2026-04-09 00:03:59 +01:00
# Generated by ore workflow generate — layer: ci-standard
# Source: .ontology/workflow.ncl
# Do not edit manually — regenerate with: ore workflow generate --layer ci-standard
when:
event: [push, pull_request, manual]
steps:
2026-04-09 00:03:59 +01:00
rust-clippy-all:
image: rust:latest
commands:
2026-04-09 00:03:59 +01:00
- cargo clippy --all-targets --all-features -- -D warnings
2026-04-09 00:03:59 +01:00
nickel-typecheck:
image: rust:latest
commands:
- cargo install nickel-lang-cli --locked
2026-04-09 00:03:59 +01:00
- nickel typecheck
2026-04-09 00:03:59 +01:00
nushell-check:
image: rust:latest
commands:
- cargo install nu --locked
2026-04-09 00:03:59 +01:00
- find . -name '*.nu' ! -path '*/target/*' -print0 | xargs -0 -I\{\} nu --ide-check 100 \{\}
2026-04-09 00:03:59 +01:00
nextest-ci:
image: rust:latest
commands:
2026-04-09 00:03:59 +01:00
- cargo install cargo-nextest --locked
- cargo nextest run --all-features --workspace --profile ci --cargo-profile ci
depends_on: ["rust-clippy-all", "nickel-typecheck", "nushell-check"]
environment:
RUST_BACKTRACE: 1
2026-04-09 00:03:59 +01:00
deny-subset:
image: rust:latest
commands:
2026-04-09 00:03:59 +01:00
- cargo install cargo-deny --locked
- cargo deny check licenses advisories
2026-04-09 00:03:59 +01:00
build-release-native:
image: rust:latest
commands:
2026-04-09 00:03:59 +01:00
- cargo build --release --workspace
depends_on: ["rust-clippy-all", "nickel-typecheck", "nushell-check"]