From 587fdc34059fbe376f0f90d1e28f316ea4ebe3f4 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 23 Mar 2023 17:44:42 -0400 Subject: [PATCH] Adding woodpecker 1 --- .drone.yml => .woodpecker.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) rename .drone.yml => .woodpecker.yml (84%) diff --git a/.drone.yml b/.woodpecker.yml similarity index 84% rename from .drone.yml rename to .woodpecker.yml index a083613..8bf3e9a 100644 --- a/.drone.yml +++ b/.woodpecker.yml @@ -1,26 +1,17 @@ ---- -kind: pipeline -name: amd64 - -platform: - os: linux - arch: amd64 - -steps: - - - name: cargo fmt +pipeline: + cargo_fmt: image: rustdocker/rust:nightly commands: - /root/.cargo/bin/cargo fmt -- --check - - name: cargo check + cargo_check: image: rust:1.65-bullseye environment: CARGO_HOME: .cargo commands: - cargo check --all-features --all-targets - - name: cargo clippy + cargo_clippy: image: rust:1.65-bullseye environment: CARGO_HOME: .cargo @@ -34,28 +25,28 @@ steps: -D clippy::manual_string_new -D clippy::redundant_closure_for_method_calls - cargo clippy --all-features -- -D clippy::unwrap_used - - name: cargo test + cargo_test: image: rust:1.65-bullseye environment: CARGO_HOME: .cargo commands: - cargo test --all-features --no-fail-fast - - name: cargo doc + cargo_doc: image: rust:1.65-bullseye environment: CARGO_HOME: .cargo commands: - cargo doc --all-features - - name: cargo run actix example + cargo_run_actix_example: image: rust:1.65-bullseye environment: CARGO_HOME: .cargo commands: - cargo run --example local_federation actix-web - - name: cargo run axum example + cargo_run_axum_example: image: rust:1.65-bullseye environment: CARGO_HOME: .cargo