Skip to content

Updates to graalpy-freeze-dependencies-guide #41

Updates to graalpy-freeze-dependencies-guide

Updates to graalpy-freeze-dependencies-guide #41

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 "{}" "+"