Skip to content

Bump home-assistant/actions (#50) #59

Bump home-assistant/actions (#50)

Bump home-assistant/actions (#50) #59

Workflow file for this run

name: Lint
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
permissions: {}
jobs:
ruff:
name: "Ruff"
runs-on: "ubuntu-latest"
steps:
- name: Checkout the repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.13"
cache: "pip"
- name: Install requirements
run: python3 -m pip install -r requirements.txt
- name: Lint
run: python3 -m ruff check .
- name: Format
run: python3 -m ruff format . --check