Write a GitHub Actions workflow file at /app/.github/workflows/main.yml matching the structural specification below. The verifier runs yamllint on your file and then compares its structure against a hidden reference workflow. You pass when the YAML parses cleanly and your workflow covers the reference's jobs and actions (thresholds: ≥ 70% of reference job names present, ≥ 50% of reference actions referenced; or, for single-job references, ≥ 50% of reference actions in any one of your jobs).
Workflow spec
Workflow name: Tests
Triggers: pull_request, push
Required jobs
build (runs-on: ubuntu-latest)
uses actions/checkout
Set up Python ${{ matrix.python-version }} — uses actions/setup-python