mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-25 01:25:04 +08:00
bbd13c04cc
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
31 lines
555 B
YAML
31 lines
555 B
YAML
name: Ruff Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- "envs/**"
|
|
- "nonebot/**"
|
|
- "packages/**"
|
|
- "tests/**"
|
|
- ".github/actions/setup-python/**"
|
|
- ".github/workflows/ruff.yml"
|
|
- "pyproject.toml"
|
|
- "poetry.lock"
|
|
|
|
jobs:
|
|
ruff:
|
|
name: Ruff Lint
|
|
runs-on: ubuntu-latest
|
|
concurrency:
|
|
group: pyright-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run Ruff Lint
|
|
uses: chartboost/ruff-action@v1
|