Skip to content

Merge pull request #16 from DaoMingze/pre-commit-ci-update-config #13

Merge pull request #16 from DaoMingze/pre-commit-ci-update-config

Merge pull request #16 from DaoMingze/pre-commit-ci-update-config #13

Workflow file for this run

name: Pyright Lint
on:
push:
branches: ["main"]
pull_request:
paths:
- "src/**"
jobs:
pyright:
name: Pyright Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python environment
uses: ./.github/actions/setup-python
- run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
- name: Run Pyright
uses: jakebailey/pyright-action@v2