mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-06-20 11:32:27 +00:00
da9d20176e
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.10) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.11) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.12) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.13) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.10) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.11) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.12) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.13) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.10) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.11) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.12) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.13) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.10) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.11) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.12) (push) Waiting to run
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.13) (push) Waiting to run
Release Drafter / release (push) Has been skipped
Release Drafter / update-release-draft (push) Failing after 39s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.10) (push) Failing after 42s
Pyright Lint / Pyright Lint (pydantic-v2) (push) Failing after 55s
Site Deploy / publish (push) Failing after 1m5s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.11) (push) Failing after 1m7s
Ruff Lint / Ruff Lint (push) Successful in 1m7s
Pyright Lint / Pyright Lint (pydantic-v1) (push) Failing after 1m9s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.10) (push) Failing after 1m14s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.11) (push) Failing after 1m27s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.12) (push) Failing after 1m33s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.13) (push) Failing after 1m37s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.12) (push) Failing after 1m39s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.13) (push) Failing after 1m40s
Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
name: Pyright Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- "envs/**"
|
|
- "nonebot/**"
|
|
- "packages/**"
|
|
- "tests/**"
|
|
- ".github/actions/setup-python/**"
|
|
- ".github/workflows/pyright.yml"
|
|
- "pyproject.toml"
|
|
- "uv.lock"
|
|
|
|
jobs:
|
|
pyright:
|
|
name: Pyright Lint
|
|
runs-on: ubuntu-latest
|
|
concurrency:
|
|
group: pyright-${{ github.ref }}-${{ matrix.env }}
|
|
cancel-in-progress: true
|
|
strategy:
|
|
matrix:
|
|
env: [pydantic-v1, pydantic-v2]
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Setup Python environment
|
|
uses: ./.github/actions/setup-python
|
|
with:
|
|
env-group: ${{ matrix.env }}
|
|
|
|
- run: |
|
|
echo "$(dirname $(uv python find))" >> $GITHUB_PATH
|
|
if [ "${{ matrix.env }}" = "pydantic-v1" ]; then
|
|
sed -i 's/PYDANTIC_V2 = true/PYDANTIC_V2 = false/g' ./pyproject.toml
|
|
fi
|
|
shell: bash
|
|
|
|
- name: Run Pyright
|
|
uses: jakebailey/pyright-action@v3
|
|
with:
|
|
pylance-version: latest-release
|