Skip to content

_audit: relax PyInit check #136

_audit: relax PyInit check

_audit: relax PyInit check #136

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint-source:
name: Lint Python
uses: trailofbits/.github/.github/workflows/make-lint.yml@v0.1.3
with:
language: python
python-version: "3.8"
lint-md:
name: Lint Markdown
uses: trailofbits/.github/.github/workflows/make-lint.yml@v0.1.3
with:
language: markdown
check-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
- run: python -m pip install .
- name: check-readme
run: |
diff \
<( \
awk '/@begin-abi3audit-help@/{f=1;next} /@end-abi3audit-help@/{f=0} f' \
< README.md | sed '1d;$d' \
) \
<( \
python -m abi3audit --help \
)