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