✨ 支持插件加载优先级 (#75) #335
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: Pyright Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- kirami/** | |
- pyproject.toml | |
jobs: | |
pyright: | |
name: Pyright Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: '3.10' | |
cache: true | |
- name: Install dependencies | |
run: pdm install | |
- name: Add pdm to PATH | |
run: echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH | |
- name: Run Pyright | |
uses: jakebailey/pyright-action@v1 |