Skip to content

Cors and getting a single ticket via its id (#31) #69

Cors and getting a single ticket via its id (#31)

Cors and getting a single ticket via its id (#31) #69

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