Files
TradarrV2/.github/workflows/verify.yml
Blomios 6a1ad7eb76 docs(project): document architecture and verification workflow
Describe the delivered API, data retention, operations, and local verification commands; add a non-publishing CI workflow.

Refs #10

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-20 21:51:26 +01:00

37 lines
1014 B
YAML

name: Verify
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23.x'
cache-dependency-path: backend/go.sum
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Set writable temporary directory
run: echo "TMPDIR=$RUNNER_TEMP" >> "$GITHUB_ENV"
- name: Install locked dependencies
run: make deps
# test-postgres.sh pins embedded-postgres v2.0.1 and PostgreSQL 16.15.1.
- name: Lint, PostgreSQL tests, frontend tests and PWA build
run: make verify
- name: Race tests with PostgreSQL
run: GOFLAGS=-race make test-postgres
- name: Build local images (no push or service startup)
run: make docker-build