Skip to content

tests: Python 3.12

tests: Python 3.12 #64

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint-source:
name: Lint Python
uses: trailofbits/.github/.github/workflows/[email protected]
with:
language: python

Check failure on line 14 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 14, Col: 17): Invalid input, language is not defined in the referenced workflow. .github/workflows/lint.yml (Line: 15, Col: 23): Invalid input, python-version is not defined in the referenced workflow.
python-version: "3.8"
lint-md:
name: Lint Markdown
uses: trailofbits/.github/.github/workflows/[email protected]
with:
language: markdown
check-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ">= 3.10"
- 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 \
)