Split ESPHome validations
This commit is contained in:
45
.github/workflows/validate_esphome.yml
vendored
45
.github/workflows/validate_esphome.yml
vendored
@@ -1,45 +0,0 @@
|
||||
name: Validate ESPHome YAML
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "nspanel_esphome*.yaml"
|
||||
pull_request:
|
||||
#schedule:
|
||||
# - cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
code_scan:
|
||||
name: Validate ESPHome YAML
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- name: Validate nspanel_esphome.yaml
|
||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome.yaml
|
||||
- name: Validate nspanel_esphome_advanced.yaml
|
||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_advanced.yaml
|
||||
- name: Validate nspanel_esphome_addon_climate_cool.yaml
|
||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_cool.yaml
|
||||
- name: Validate nspanel_esphome_addon_climate_heat.yaml
|
||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
|
||||
- name: Build core
|
||||
uses: esphome/build-action@v1.8.0
|
||||
with:
|
||||
yaml_file: "./.test/esphome_core.yaml"
|
||||
- name: Build core+advanced
|
||||
uses: esphome/build-action@v1.8.0
|
||||
with:
|
||||
yaml_file: "./.test/esphome_advanced.yaml"
|
||||
- name: Build core+climate_heat
|
||||
uses: esphome/build-action@v1.8.0
|
||||
with:
|
||||
yaml_file: "./.test/esphome_climate_heat.yaml"
|
||||
- name: Build core+climate_cool
|
||||
uses: esphome/build-action@v1.8.0
|
||||
with:
|
||||
yaml_file: "./.test/esphome_climate_cool.yaml"
|
||||
- name: Build core+advanced+climate_heat
|
||||
uses: esphome/build-action@v1.8.0
|
||||
with:
|
||||
yaml_file: "./.test/esphome_advanced_climate_heat.yaml"
|
||||
Reference in New Issue
Block a user