Merge pull request #1786 from Blackymas/beta

Lint
This commit is contained in:
Edward Firmo
2024-02-12 13:00:52 +01:00
committed by GitHub
6 changed files with 50 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Set up Git
run: |

View File

@@ -17,6 +17,8 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Validate nspanel_blueprint.yaml
run: yamllint -c "./.rules/yamllint.yml" nspanel_blueprint.yaml
...

View File

@@ -26,6 +26,8 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Validate nspanel_esphome.yaml
run: yamllint -c "./.rules/yamllint.yml" nspanel_esphome.yaml
- name: Validate nspanel_esphome_core.yaml
@@ -50,6 +52,8 @@ jobs:
- code_scan
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core
uses: esphome/build-action@v1.8.0
with:
@@ -62,6 +66,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced
uses: esphome/build-action@v1.8.0
with:
@@ -74,6 +80,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_heat
uses: esphome/build-action@v1.8.0
with:
@@ -86,6 +94,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_cool
uses: esphome/build-action@v1.8.0
with:
@@ -98,6 +108,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_dual
uses: esphome/build-action@v1.8.0
with:
@@ -111,6 +123,8 @@ jobs:
- build_advanced
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced+climate_heat
uses: esphome/build-action@v1.8.0
with:
@@ -124,6 +138,8 @@ jobs:
- build_advanced
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced+climate_cool+esp_idf
uses: esphome/build-action@v1.8.0
with:
@@ -137,6 +153,8 @@ jobs:
- build_climate_dual
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_dual+bt_proxy+esp_idf5
uses: esphome/build-action@v1.8.0
with:
@@ -150,6 +168,8 @@ jobs:
- build_climate_cool_advanced_esp_idf
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced+climate_heat+customizations
uses: esphome/build-action@v1.8.0
with:

View File

@@ -16,6 +16,8 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Validate nspanel_esphome.yaml
run: yamllint -c "./.rules/yamllint.yml" nspanel_esphome.yaml
- name: Validate nspanel_esphome_core.yaml
@@ -40,6 +42,8 @@ jobs:
- code_scan
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core
uses: esphome/build-action@v1.8.0
with:
@@ -53,6 +57,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced
uses: esphome/build-action@v1.8.0
with:
@@ -66,6 +72,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_heat
uses: esphome/build-action@v1.8.0
with:
@@ -79,6 +87,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_cool
uses: esphome/build-action@v1.8.0
with:
@@ -92,6 +102,8 @@ jobs:
- build_core
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_dual
uses: esphome/build-action@v1.8.0
with:
@@ -106,6 +118,8 @@ jobs:
- build_advanced
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced+climate_heat
uses: esphome/build-action@v1.8.0
with:
@@ -120,6 +134,8 @@ jobs:
- build_advanced
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced+climate_cool+esp_idf
uses: esphome/build-action@v1.8.0
with:
@@ -134,6 +150,8 @@ jobs:
- build_climate_dual
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+climate_dual+bt_proxy+esp_idf5
uses: esphome/build-action@v1.8.0
with:
@@ -148,6 +166,8 @@ jobs:
- build_climate_cool_advanced_esp_idf
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Build core+advanced+climate_heat+customizations
uses: esphome/build-action@v1.8.0
with:

View File

@@ -18,6 +18,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
# https://github.com/marketplace/actions/markdownlint-cli2-action
- name: Identify changed files
@@ -42,6 +44,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
# https://github.com/gaurav-nelson/github-action-markdown-link-check
- name: Markdown links

View File

@@ -20,6 +20,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4.1.0
with:
fetch-depth: '0'
- name: Identify changed files
uses: tj-actions/changed-files@v41