hass.tibber_prices/.github/workflows/lint.yml
dependabot[bot] 03e07a36a5
Some checks failed
Validate / HACS validation (push) Has been cancelled
Lint / Ruff (push) Has been cancelled
Validate / Hassfest validation (push) Has been cancelled
chore(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 (#153)
2026-06-04 12:43:16 +02:00

45 lines
997 B
YAML

name: Lint
on:
push:
branches:
- "main"
paths-ignore:
- "docs/**"
- ".github/workflows/docusaurus.yml"
pull_request:
branches:
- "main"
paths-ignore:
- "docs/**"
- ".github/workflows/docusaurus.yml"
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
name: "Ruff"
runs-on: "ubuntu-latest"
steps:
- name: Checkout the repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.14"
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
version: "0.9.3"
- name: Install requirements
run: scripts/setup/bootstrap
- name: Lint check
run: scripts/lint-check