mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
homeassistant==2026.3.4 requires Python>=3.14.2. The lint workflow was specifying Python 3.13, and uv venv was ignoring actions/setup-python and picking up the system Python (3.14.0) instead. Changes: - lint.yml: python-version 3.13 → 3.14 - bootstrap: uv venv now uses $(which python) to respect actions/setup-python and local pyenv/asdf setups Impact: lint workflow no longer fails with Python version unsatisfiable dependency error when installing homeassistant.
45 lines
998 B
YAML
45 lines
998 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@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
with:
|
|
version: "0.9.3"
|
|
|
|
- name: Install requirements
|
|
run: scripts/setup/bootstrap
|
|
|
|
- name: Lint check
|
|
run: scripts/lint-check
|