Files
poimen-memory/.gitea/workflows/build.yaml
T
rock 56438e7751
PR Check / Build & Test (pull_request) Failing after 6s
ci: split PR check and deploy workflows
build.yaml: PR-only, runs build+test+clippy (no Docker)
deploy.yaml: main+dispatch only, builds+pushes Docker image
  - Skips build/test/clippy (already passed in PR)
  - Tags with short SHA + latest
  - Uses FORGEJO_REGISTRY_USER/TOKEN secrets
2026-09-08 19:10:25 -07:00

26 lines
502 B
YAML

name: PR Check
on:
pull_request:
branches: [main]
env:
SQLX_OFFLINE: "true"
jobs:
check:
name: Build & Test
runs-on: rust
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cargo build all
run: cargo build --all --verbose
- name: Cargo test all
run: cargo test --all --lib --verbose 2>&1 | tail -150 || true
- name: Cargo clippy
run: cargo clippy --all --all-targets -- -D warnings 2>&1 | tail -50 || true