Skip to content

Commit b9df0c7

Browse files
author
Maksym Shtembuliak
committed
Pin ESPHome version in CI
1 parent 177f2cc commit b9df0c7

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ on:
88
jobs:
99
test:
1010
runs-on: ubuntu-latest
11+
env:
12+
ESPHOME_VERSION: "2025.7.5"
1113
steps:
1214
- uses: actions/checkout@v4
1315
- uses: actions/setup-python@v5
1416
with:
1517
python-version: "3.11"
1618
- name: Install ESPHome
17-
run: python -m pip install esphome pyyaml
19+
run: python -m pip install "esphome==${ESPHOME_VERSION}" pyyaml
1820
- name: Host tests
1921
run: make -C host_tests test
2022
- name: Validate YAML and docs links

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ permissions:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16+
env:
17+
ESPHOME_VERSION: "2025.7.5"
1618
steps:
1719
- uses: actions/checkout@v4
1820
- uses: actions/setup-python@v5
1921
with:
2022
python-version: "3.11"
2123
- name: Install ESPHome
22-
run: python -m pip install esphome pyyaml
24+
run: python -m pip install "esphome==${ESPHOME_VERSION}" pyyaml
2325
- name: Host tests
2426
run: make -C host_tests test
2527
- name: Build web release

0 commit comments

Comments
 (0)