Adding woodpecker 1 (#30)

This commit is contained in:
Dessalines 2023-03-24 16:48:51 -04:00 committed by GitHub
parent 1669a72620
commit 6b4f798f76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,17 @@
--- pipeline:
kind: pipeline cargo_fmt:
name: amd64
platform:
os: linux
arch: amd64
steps:
- name: cargo fmt
image: rustdocker/rust:nightly image: rustdocker/rust:nightly
commands: commands:
- /root/.cargo/bin/cargo fmt -- --check - /root/.cargo/bin/cargo fmt -- --check
- name: cargo check cargo_check:
image: rust:1.65-bullseye image: rust:1.65-bullseye
environment: environment:
CARGO_HOME: .cargo CARGO_HOME: .cargo
commands: commands:
- cargo check --all-features --all-targets - cargo check --all-features --all-targets
- name: cargo clippy cargo_clippy:
image: rust:1.65-bullseye image: rust:1.65-bullseye
environment: environment:
CARGO_HOME: .cargo CARGO_HOME: .cargo
@ -34,28 +25,28 @@ steps:
-D clippy::manual_string_new -D clippy::redundant_closure_for_method_calls -D clippy::manual_string_new -D clippy::redundant_closure_for_method_calls
- cargo clippy --all-features -- -D clippy::unwrap_used - cargo clippy --all-features -- -D clippy::unwrap_used
- name: cargo test cargo_test:
image: rust:1.65-bullseye image: rust:1.65-bullseye
environment: environment:
CARGO_HOME: .cargo CARGO_HOME: .cargo
commands: commands:
- cargo test --all-features --no-fail-fast - cargo test --all-features --no-fail-fast
- name: cargo doc cargo_doc:
image: rust:1.65-bullseye image: rust:1.65-bullseye
environment: environment:
CARGO_HOME: .cargo CARGO_HOME: .cargo
commands: commands:
- cargo doc --all-features - cargo doc --all-features
- name: cargo run actix example cargo_run_actix_example:
image: rust:1.65-bullseye image: rust:1.65-bullseye
environment: environment:
CARGO_HOME: .cargo CARGO_HOME: .cargo
commands: commands:
- cargo run --example local_federation actix-web - cargo run --example local_federation actix-web
- name: cargo run axum example cargo_run_axum_example:
image: rust:1.65-bullseye image: rust:1.65-bullseye
environment: environment:
CARGO_HOME: .cargo CARGO_HOME: .cargo