blob: ea000ae29b6b69074da0425b8f8409edc32d9b1b (
plain) (
tree)
|
|
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
|