Skip to content

Link demo and guide dirs instead of README.mds. #6

Link demo and guide dirs instead of README.mds.

Link demo and guide dirs instead of README.mds. #6

name: Check Snippets in GraalPy Guides
on:
push:
paths:
- 'graalpy/**'
- '.github/workflows/graalpy-check-snippets.yml'
pull_request:
paths:
- 'graalpy/**'
- '.github/workflows/graalpy-check-snippets.yml'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: graalpy-24.1
- name: Install dependencies
run: |
python -m pip install -r .github/scripts/requirements.txt
- name: Check README snippets
run: find graalpy -name "README.md" -exec python .github/scripts/check-snippets.py "{}" "+"