Skip to content

Validate current release artifacts without replacing the signed app #1529

Validate current release artifacts without replacing the signed app

Validate current release artifacts without replacing the signed app #1529

Workflow file for this run

name: Repo Hygiene
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: repo-hygiene-${{ github.ref }}
cancel-in-progress: true
jobs:
repo-hygiene:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Agent preflight
shell: bash
run: bash scripts/dev/agent-preflight.sh origin/main
- name: Test matrix selector
shell: bash
run: python3 scripts/dev/test-matrix-checks.py --self-test
- name: Agent contract
shell: bash
run: python3 scripts/dev/agent-context.py --self-test
- name: Agent proof runner
shell: bash
run: python3 scripts/dev/agent-check.py --self-test
- name: Shell syntax
shell: bash
run: |
set -euo pipefail
bash -n build-deps.sh
bash -n build-beta.sh
bash -n build.sh
bash -n run-tests.sh
bash -n run-integration-smoke.sh
bash -n run-e2e-smoke.sh
bash -n run-live-capture-smoke.sh
bash -n run-daily-audio-reliability.sh
find scripts -name '*.sh' -print0 | xargs -0 -n1 bash -n
- name: Ruby syntax
shell: bash
run: |
set -euo pipefail
find scripts -name '*.rb' -print0 | xargs -0 -n1 ruby -c
- name: Python syntax
shell: bash
run: |
set -euo pipefail
find scripts -name '*.py' -print0 | xargs -0 -n1 python3 -m py_compile
# Catches same-scope duplicate declarations (e.g. a symbol declared twice
# by a bad git auto-merge) in seconds, so they fail here instead of 20
# minutes into the macOS Swift build. --self-test guards the checker's own
# precision (overloads, protocol reqs, switch arms, if/guard-let chains).
- name: Duplicate declarations
shell: bash
run: |
set -euo pipefail
python3 scripts/dev/check-duplicate-declarations.py --self-test
python3 scripts/dev/check-duplicate-declarations.py