chore: excluded schema.rs from cargo fmt #27 #63
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |