Lint
This commit is contained in:
2
.github/workflows/release_tag.yml
vendored
2
.github/workflows/release_tag.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4.1.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
|
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/validate_blueprint.yml
vendored
2
.github/workflows/validate_blueprint.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Validate nspanel_blueprint.yaml
|
- name: Validate nspanel_blueprint.yaml
|
||||||
run: yamllint -c "./.rules/yamllint.yml" nspanel_blueprint.yaml
|
run: yamllint -c "./.rules/yamllint.yml" nspanel_blueprint.yaml
|
||||||
...
|
...
|
||||||
|
|||||||
20
.github/workflows/validate_esphome.yml
vendored
20
.github/workflows/validate_esphome.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Validate nspanel_esphome.yaml
|
- name: Validate nspanel_esphome.yaml
|
||||||
run: yamllint -c "./.rules/yamllint.yml" nspanel_esphome.yaml
|
run: yamllint -c "./.rules/yamllint.yml" nspanel_esphome.yaml
|
||||||
- name: Validate nspanel_esphome_core.yaml
|
- name: Validate nspanel_esphome_core.yaml
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core
|
- name: Build core
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -67,7 +67,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced
|
- name: Build core+advanced
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_heat
|
- name: Build core+climate_heat
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_cool
|
- name: Build core+climate_cool
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -109,7 +109,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_dual
|
- name: Build core+climate_dual
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -124,7 +124,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced+climate_heat
|
- name: Build core+advanced+climate_heat
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -139,7 +139,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced+climate_cool+esp_idf
|
- name: Build core+advanced+climate_cool+esp_idf
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -154,7 +154,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_dual+bt_proxy+esp_idf5
|
- name: Build core+climate_dual+bt_proxy+esp_idf5
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -169,7 +169,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced+climate_heat+customizations
|
- name: Build core+advanced+climate_heat+customizations
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
20
.github/workflows/validate_esphome_beta.yml
vendored
20
.github/workflows/validate_esphome_beta.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Validate nspanel_esphome.yaml
|
- name: Validate nspanel_esphome.yaml
|
||||||
run: yamllint -c "./.rules/yamllint.yml" nspanel_esphome.yaml
|
run: yamllint -c "./.rules/yamllint.yml" nspanel_esphome.yaml
|
||||||
- name: Validate nspanel_esphome_core.yaml
|
- name: Validate nspanel_esphome_core.yaml
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core
|
- name: Build core
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced
|
- name: Build core+advanced
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_heat
|
- name: Build core+climate_heat
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_cool
|
- name: Build core+climate_cool
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_dual
|
- name: Build core+climate_dual
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced+climate_heat
|
- name: Build core+advanced+climate_heat
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -135,7 +135,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced+climate_cool+esp_idf
|
- name: Build core+advanced+climate_cool+esp_idf
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -151,7 +151,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+climate_dual+bt_proxy+esp_idf5
|
- name: Build core+climate_dual+bt_proxy+esp_idf5
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -167,7 +167,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
- name: Build core+advanced+climate_heat+customizations
|
- name: Build core+advanced+climate_heat+customizations
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/validate_markdown.yml
vendored
4
.github/workflows/validate_markdown.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4.1.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
|
|
||||||
# https://github.com/marketplace/actions/markdownlint-cli2-action
|
# https://github.com/marketplace/actions/markdownlint-cli2-action
|
||||||
- name: Identify changed files
|
- name: Identify changed files
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4.1.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
|
|
||||||
# https://github.com/gaurav-nelson/github-action-markdown-link-check
|
# https://github.com/gaurav-nelson/github-action-markdown-link-check
|
||||||
- name: Markdown links
|
- name: Markdown links
|
||||||
|
|||||||
2
.github/workflows/validate_yamllint.yml
vendored
2
.github/workflows/validate_yamllint.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4.1.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0' # Fetch all history for all tags and branches
|
fetch-depth: '0'
|
||||||
|
|
||||||
- name: Identify changed files
|
- name: Identify changed files
|
||||||
uses: tj-actions/changed-files@v41
|
uses: tj-actions/changed-files@v41
|
||||||
|
|||||||
Reference in New Issue
Block a user