Skip to content

ESPHome CI

ESPHome CI #126

Workflow file for this run

---
name: ESPHome CI
# yamllint disable-line rule:truthy
on:
push:
branches: ["master"]
pull_request:
branches: ["**"]
schedule:
- cron: "0 6 * * *"
permissions: {}
jobs:
esphome:
name: ESPHome Configuration Check
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out configuration from GitHub
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Set up Python 3.13
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install esphome
pip list
esphome version
- name: Copy secrets stub into configuration folder
run: cp ./secrets.fake.yaml ./esphome/secrets.yaml
- name: Run esphome on all files
# yamllint disable rule:line-length
run: |
find ./esphome -maxdepth 1 -type f -name "*.yaml" -not -name "secrets.yaml" -exec esphome {} config \;