Update checklist.yml (#171) #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: examples | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
examples: | |
name: Build and commit examples | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 with uv | |
uses: drivendataorg/setup-python-uv-action@v1 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
uv pip install -r dev-requirements.txt | |
- name: Build examples and docs | |
run: | | |
make examples | |
make docs | |
- name: Commit changed files from build | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Add rendered files from build | |
file_pattern: examples/* docs/docs/*.md README.md |