Skip to content

Dev

Dev #47

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
environment: build
steps:
- name: Run tests
run: cargo sqlx prepare
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
env:
SQLX_OFFLINE: true
- name: Run tests
run: cargo test --verbose
env:
SQLX_OFFLINE: true