mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-07 20:33:01 +08:00
🐛 分支应该是main而不是master 💄 auto fix by pre-commit hooks 🔥 dependabot.yml的registrys需要token,先删除
23 lines
349 B
YAML
23 lines
349 B
YAML
name: Ruff Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths:
|
|
- "nonebot_bison/**"
|
|
- "extra_plugins/**"
|
|
- "tests/**"
|
|
- "bot.py"
|
|
|
|
jobs:
|
|
ruff:
|
|
name: Ruff Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Run Ruff Lint
|
|
uses: chartboost/ruff-action@v1
|