Files
MealQuest/.gitea/workflows/ci.yml
T
dev_agentandClaude Opus 5.5 49743f4c83
CI / ci (push) Successful in 25s
CI / ci (pull_request) Successful in 26s
Independent review Not signed off — 0 high, 1 medium (#9)
Drop CI build-info step; -trimpath omits ldflags from it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 00:30:52 -04:00

33 lines
872 B
YAML

# Runs on every push and pull request (no branch filter) so feature branches,
# their pull requests, and dev/main are all checked. Runs directly on the
# self-hosted act_runner; no container: key.
#
# The Makefile is the single build definition: CI runs `make test` and
# `make build` so it fails whenever either target would, and the binary
# carries the Makefile's -trimpath and version-stamped -ldflags (the
# `make build` log shows the -X main.version=... value).
name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: make test
run: make test
- name: make build
run: make build