tazakazahstan/.gitea/workflows/ci.yml
Peppa 66c644a08a
Some checks failed
peppa/install install: failure за 0с
ci / checks (pull_request) Failing after 2s
TZK-2: CI Пеппы из шаблона (.gitea/workflows/ci.yml, peppa-check.sh)
Репозиторий создан из шаблона без .gitea/, поэтому проверки PR не запускались.
Файлы скопированы из шаблона Пеппы без изменений.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 16:26:09 +05:00

39 lines
1.7 KiB
YAML
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.

# CI проекта Пеппы (PEP-57). Команды проверок — в .peppa/project.json → "checks";
# под стек проекта этот файл менять не нужно. Изменение этого файла или "checks"
# PM видит отдельно, и такой PR не мержится автоматически.
name: ci
on:
pull_request:
push:
branches: [main]
env:
PEPPA_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
PEPPA_BRANCH: ${{ github.head_ref || github.ref_name }}
PEPPA_PR: ${{ github.event.pull_request.number }}
PEPPA_CI_SECRET: ${{ secrets.PEPPA_CI_SECRET }}
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
checks:
# Раннер с docker.sock хоста: только ветки этого репозитория, PR из форков не запускаются.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: peppa-trusted
steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.PEPPA_SHA }}
- id: install
name: install
run: bash .gitea/peppa-check.sh install
- name: lint
if: (success() || failure()) && steps.install.outcome == 'success'
run: bash .gitea/peppa-check.sh lint
- name: typecheck
if: (success() || failure()) && steps.install.outcome == 'success'
run: bash .gitea/peppa-check.sh typecheck
- name: test
if: (success() || failure()) && steps.install.outcome == 'success'
run: bash .gitea/peppa-check.sh test
- name: build
if: (success() || failure()) && steps.install.outcome == 'success'
run: bash .gitea/peppa-check.sh build