Add checkout to each action
This commit is contained in:
16
.github/workflows/validate_esphome.yml
vendored
16
.github/workflows/validate_esphome.yml
vendored
@@ -29,20 +29,13 @@ jobs:
|
|||||||
- name: Validate nspanel_esphome_addon_climate_heat.yaml
|
- name: Validate nspanel_esphome_addon_climate_heat.yaml
|
||||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
|
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
|
||||||
|
|
||||||
checkout:
|
build_core:
|
||||||
name: Checkout
|
name: Build core
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
needs:
|
needs:
|
||||||
- code_scan
|
- code_scan
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.0
|
- uses: actions/checkout@v4.1.0
|
||||||
|
|
||||||
build_core:
|
|
||||||
name: Build core
|
|
||||||
runs-on: "ubuntu-latest"
|
|
||||||
needs:
|
|
||||||
- checkout
|
|
||||||
steps:
|
|
||||||
- name: Build core
|
- name: Build core
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
@@ -54,6 +47,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build_core
|
- build_core
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.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:
|
||||||
@@ -65,6 +59,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build_core
|
- build_core
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.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:
|
||||||
@@ -76,6 +71,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build_core
|
- build_core
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.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:
|
||||||
@@ -88,6 +84,7 @@ jobs:
|
|||||||
- build_climate_heat
|
- build_climate_heat
|
||||||
- build_advanced
|
- build_advanced
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.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:
|
||||||
@@ -100,6 +97,7 @@ jobs:
|
|||||||
- build_climate_heat
|
- build_climate_heat
|
||||||
- build_advanced
|
- build_advanced
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.0
|
||||||
- name: Build core+advanced+climate_heat+arduino
|
- name: Build core+advanced+climate_heat+arduino
|
||||||
uses: esphome/build-action@v1.8.0
|
uses: esphome/build-action@v1.8.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user