mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +08:00
e7fc5b7b7e
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
485 B
YAML
27 lines
485 B
YAML
name: Pyright Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- "nonebot/**"
|
|
- "packages/**"
|
|
- "tests/**"
|
|
|
|
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@v1
|