Skip to content

remove rye from workflow and adjust generation just command #6

remove rye from workflow and adjust generation just command

remove rye from workflow and adjust generation just command #6

Workflow file for this run

name: examples
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
examples:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
- uses: actions/setup-python@v5
with:
python-version: "3.8"
cache: "pip"
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.lock
- name: Generate examples
run: |
just generate-examples
- name: Commit and push if it changed
run: |-
git config user.name "Automated"
git config user.email "[email protected]"
git add -A
git commit -m "Regenerated examples" || exit 0
git push