Skip to content

Fix dashboard favicon and OAuth state handling #233

Fix dashboard favicon and OAuth state handling

Fix dashboard favicon and OAuth state handling #233

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- "mvp/**"
jobs:
rust:
name: Rust
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: bindhub
POSTGRES_PASSWORD: bindhub
POSTGRES_DB: bindhub_metadata_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U bindhub -d bindhub_metadata_test"
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
BINDHUB_TEST_POSTGRES_URL: postgres://bindhub:bindhub@localhost:5432/bindhub_metadata_test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check workspace
run: cargo check --workspace --all-targets
- name: Run tests
run: cargo test --workspace