ci/woodpecker/push/tests Pipeline was successful
instead channel and semaphore queue + upgrade to rust 1.99
30 lines
677 B
YAML
30 lines
677 B
YAML
when:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: fmt
|
|
image: rust:1.99
|
|
commands:
|
|
- rustup component add rustfmt
|
|
- cargo fmt --all -- --check
|
|
|
|
- name: clippy
|
|
image: rust:1.99
|
|
commands:
|
|
- rustup component add clippy
|
|
- cargo clippy --workspace --all-targets --all-features -- -D warnings
|
|
|
|
- name: test
|
|
image: rust:1.99
|
|
commands:
|
|
- cargo test --workspace --all-targets
|
|
|
|
- name: container-build
|
|
image: quay.io/buildah/stable
|
|
privileged: true
|
|
volumes:
|
|
- /data/woodpecker-builds:/data
|
|
commands:
|
|
- buildah bud -f Containerfile -t steep-ci .
|