kind: pipeline type: docker name: default steps: - name: build image: rust:latest commands: - apt update - apt install postgresql -y - pg_ctlcluster 13 main start - cargo install sqlx-cli - cargo sqlx migrate run - cargo check - cargo fmt -- --check environment: DATABASE_URL: postgres://postgres@localhost/campmaster