diff --git a/.github/workflows/lib-checks.yml b/.github/workflows/lib-checks.yml index d3d89ad742..88a958fe78 100644 --- a/.github/workflows/lib-checks.yml +++ b/.github/workflows/lib-checks.yml @@ -4,7 +4,9 @@ on: push: paths: - "discord/**" - - "requirements/**" + - "examples/**" + - "scripts/**" + - "tests/**" - "*.toml" - "*.py" - ".*" @@ -12,7 +14,9 @@ on: pull_request: paths: - "discord/**" - - "requirements/**" + - "examples/**" + - "scripts/**" + - "tests/**" - "*.toml" - "*.py" - ".*" @@ -63,9 +67,9 @@ jobs: - name: Sync dependencies run: uv sync --no-python-downloads --group dev - name: "Run ruff linter check" - run: uv run ruff check discord/ + run: uv run ruff check . - name: "Run ruff formatter check" - run: uv run ruff format --check discord/ + run: uv run ruff format --check . mypy: if: ${{ github.event_name != 'schedule' }} runs-on: ubuntu-latest