Set fetch-depth to 0

This commit is contained in:
Edward Firmo
2024-02-12 12:49:06 +01:00
parent cd6eb12e6e
commit 1c8c90d6de
6 changed files with 51 additions and 1 deletions

View File

@@ -16,6 +16,8 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: '0' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- 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' # Fetch all history for all tags and branches
- name: Build core+advanced+climate_heat+customizations
uses: esphome/build-action@v1.8.0
with: