test-some-app/README.md
peppa-bot 8faa01c890
All checks were successful
peppa/lint lint: success за 8с
peppa/test test: success за 2с
peppa/build build: success за 1с
ci / checks (pull_request) Successful in 36s
deploy / deploy (pull_request) Successful in 6s
TSA-1: install pinned Go toolchain in CI checks
CI runner has no Go: checks.install fetches Go 1.22.12 (sha256-verified)
into .tools/go; lint/test/build use it. gofmt runs over module package
dirs so it skips the toolchain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:47:00 +00:00

8 lines
804 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# test some app
Проект Peppa FACTORY. Ключ стори: `TSA`. Правила — в [AGENTS.md](AGENTS.md).
## Запуск
Нужен Go 1.22 или новее (если Go нет, `bash scripts/install-go.sh` поставит его в `.tools/go`). Выполните `make run` — сервис соберётся и запустится на порту 8080 (по умолчанию; другой порт задаётся переменной окружения `PORT`, например `PORT=9090 make run`). Проверьте работу командой `curl -i http://localhost:8080/health`: в ответ придёт код 200 и текст `ok`. Остановить сервис можно через Ctrl+C. Тесты запускаются командой `make test`.