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