diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index a171070..0000000 --- a/.drone.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -kind: pipeline -name: compliance -type: docker -trigger: - event: - - pull_request -steps: - - name: build - pull: always - image: rust:1.56.0 - commands: - - rustup component add clippy - - cargo build --verbose - - cargo clippy --workspace --tests --all-targets --all-features - - cargo test --workspace --no-fail-fast ---- -kind: pipeline -name: release -type: docker -trigger: - branch: - - master - event: - - push -steps: - - name: build - pull: always - image: rust:1.56.0 - commands: - - rustup component add clippy - - cargo build --verbose --release - - cargo clippy --workspace --tests --all-targets --all-features - - cargo test --workspace --no-fail-fast \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..82d389b --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,11 @@ +--- +pipeline: + compliance: + image: rust + commands: + - rustup component add clippy + - cargo build --verbose + - cargo clippy --workspace --tests --all-targets --all-features + - cargo test --workspace --no-fail-fast + when: + branch: main \ No newline at end of file