🐛 修复在系统没有 swap 的情况下出现 除数为0 的 bug #35
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: | |
- master | |
pull_request: | |
paths: | |
- "nonebot_plugin_kawaii_status/**" | |
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 "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH | |
- name: Run Pyright | |
uses: jakebailey/pyright-action@v1 |