Add files via upload #15
This file contains hidden or 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: Lint | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.13.2" | |
| - run: | | |
| pip install uv | |
| uv sync --no-install-project --prerelease=allow | |
| - run: | | |
| uv run ruff format --diff custom_components/ | |
| uv run ruff format --diff tests/ | |
| - run: | | |
| uv run ruff check custom_components/ | |
| uv run ruff check tests/ |