Skip to content

rewrite file server in rust #4

rewrite file server in rust

rewrite file server in rust #4

Workflow file for this run

name: Rust CI
on: [push, pull_request]
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
jobs:
editor-server_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cd editor-server && cp .env.development .env
- name: Start database
run: docker compose -f dev.docker-compose.yml up -d
- name: Migrate database
run: cd editor-server && cargo prisma migrate dev --skip-generate --name init
- name: build test and clippy check
run: cargo clippy --manifest-path ./editor-server/Cargo.toml
- name: fmt check
run: cargo fmt --manifest-path ./editor-server/Cargo.toml