Skip to content

feat: Updated .github/workflows/main.yml #40

feat: Updated .github/workflows/main.yml

feat: Updated .github/workflows/main.yml #40

Workflow file for this run

name: python examples checks
on: ["push", "pull_request"]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install promplate[all] isort black
yarn global add pyright
- name: Run isort check
run: |
poetry run isort . --check --diff
- name: Run black check
working-directory: python
run: |
poetry run black . --check --diff
- name: Run pyright check
run: |
poetry run pyright