mirror of
https://github.com/python/cpython.git
synced 2026-04-27 06:10:59 +00:00
25 lines
601 B
YAML
25 lines
601 B
YAML
name: Reusable C API Docs Check
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
FORCE_COLOR: 1
|
|
|
|
jobs:
|
|
check-c-api-docs:
|
|
name: 'Check if all C APIs are documented'
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Check for undocumented C APIs
|
|
run: python Tools/check-c-api-docs/main.py
|