Skip to content

chore: excluded schema.rs from cargo fmt #27 #63

chore: excluded schema.rs from cargo fmt #27

chore: excluded schema.rs from cargo fmt #27 #63

Workflow file for this run

name: CI
on:
push:
branches: [ "**" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Diesel
run: cargo install diesel_cli --no-default-features --features sqlite
- name: Prepare Test DB
run: diesel migration run --database-url test-backend.sqlite
- name: Build
run: cargo build
- name: Test
run: cargo test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check formatting
run: cargo fmt --check