From ca05de5cd5bb74eb232b2eeafb38a85784927ce9 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 25 Feb 2024 12:12:53 -0500 Subject: [PATCH] ci: add rustup step --- .woodpecker/cargo-checks.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.woodpecker/cargo-checks.yml b/.woodpecker/cargo-checks.yml index 0dca0bc..a5248ba 100644 --- a/.woodpecker/cargo-checks.yml +++ b/.woodpecker/cargo-checks.yml @@ -1,17 +1,20 @@ when: - event: pull_request - event: push - - path: - include: ['*.rs'] + - path: + include: ["*.rs"] steps: - cargo_clippy: + configure_rustup: image: rust commands: | rustup update stable && rustup default stable rustup component add clippy - # cargo clippy --all-targets --all-features + cargo_clippy: + image: rust + commands: + - cargo clippy --all-targets --all-features cargo_test: image: rust commands: - - cargo test + - cargo test --all-features