Fix TypeError in number increment/decrement services when entity.value is string #2883
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: Ruff | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
env: | |
DEFAULT_PYTHON: "3.13" | |
jobs: | |
ruff: | |
name: Ruff | |
runs-on: ubuntu-latest | |
steps: | |
- name: β€΅οΈ Check out code from GitHub | |
uses: actions/[email protected] | |
- name: π Set up uv | |
uses: astral-sh/[email protected] | |
with: | |
enable-cache: true | |
python-version: ${{ env.DEFAULT_PYTHON }} | |
- name: π Install dependencies | |
run: uv sync --frozen --dev | |
- name: π Run ruff linter | |
run: uv run ruff check --output-format=github . | |
- name: π Run ruff formatter | |
run: uv run ruff format --check . |