quickpeep/.ci/woodpecker/check.yml

18 lines
510 B
YAML

# must set build pipeline as .woodpecker/ with the trailing slash to activate the
# multiple pipelines
platform: linux/amd64
pipeline:
clippy:
when:
event: [push, pull_request]
image: rust:1.59.0-slim
commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential
- cargo install sqlx-cli --features sqlite
- cd quickpeep && bash dev_db.sh && cd ..
#- rustup component add clippy
# TODO clippy one day
- cargo check --all