Skip to content

feat(backend): log what each sync push and pull actually moved (#110) #328

feat(backend): log what each sync push and pull actually moved (#110)

feat(backend): log what each sync push and pull actually moved (#110) #328

Workflow file for this run

name: Backend
on:
pull_request:
push:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
env:
# Compile-time SQL verification uses the committed .sqlx cache — no DB needed.
SQLX_OFFLINE: "true"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: backend
- name: fmt
run: cargo fmt --check
- name: clippy
run: cargo clippy -- -D warnings
- name: test
run: cargo test
docker:
runs-on: ubuntu-latest
needs: check
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build backend/ -t pomodoso-backend:ci