Skip to content

Bump actions/checkout from 4.1.4 to 4.1.5 #20

Bump actions/checkout from 4.1.4 to 4.1.5

Bump actions/checkout from 4.1.4 to 4.1.5 #20

Workflow file for this run

name: "Lint and Test"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
lint_and_test:
name: Lint and run tests
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]"
- name: "Set up Python"
uses: actions/[email protected]
with:
python-version: "3.11"
cache: "pip"
- name: "Install requirements"
run: python3 -m pip install -r requirements.txt
- name: Lint Check
run: ruff check custom_components
- name: Format check
run: ruff format --check custom_components
- name: Run tests
run: python -m pytest -v test