diff options
Diffstat (limited to '.woodpecker.yaml')
| -rw-r--r-- | .woodpecker.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 0b89995..a198f5c 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,14 +1,14 @@ # Define the sequence of steps for the CI pipeline steps: dependencies: - image: rust + image: rust:1.78-bullseye environment: RUST_BACKTRACE: 1 CARGO_TERM_COLOR: always commands: - rustup default stable - apt update - - apt install openssl gnupg libgpgme-dev libgpg-error-dev libassuan-dev -y + - apt install -y pkg-config libgpg-error-dev libgpgme-dev libassuan-dev gnupg openssl when: branch: main event: [ push, pull_request ] @@ -29,7 +29,8 @@ steps: CARGO_TERM_COLOR: always commands: - rustup component add clippy rustfmt - # - cargo fmt --all -- --check + - cargo fmt --all + - export PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig" - cargo clippy --jobs 2 -- -D clippy::all # -D warnings when: branch: main |
