Skip to content

refreshed documentation #195

refreshed documentation

refreshed documentation #195

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
merge_group:
branches: [main]
env:
CARGO_TERM_COLOR: always
DATABASE_URL: postgres://postgres:postgres@localhost:5436/test
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start Postgres
run: docker compose up -d --wait
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Validate schema matches migrations
run: ./scripts/validate-schema
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --check
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- name: Run tests
run: cargo test-all