Use latest actions/checkout
This commit is contained in:
2
.github/workflows/release_tag.yml
vendored
2
.github/workflows/release_tag.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4.1.0
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
|
||||
2
.github/workflows/validate_blueprint.yml
vendored
2
.github/workflows/validate_blueprint.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
name: Validate Blueprint YAML
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Validate nspanel_blueprint.yaml
|
||||
|
||||
2
.github/workflows/validate_clang_format.yml
vendored
2
.github/workflows/validate_clang_format.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
clang-format-checking:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@main
|
||||
- uses: RafikFarhad/clang-format-github-action@v3
|
||||
with:
|
||||
sources: "components/nspanel_ha_blueprint/*.h,components/nspanel_ha_blueprint/*.c,components/nspanel_ha_blueprint/*.cpp"
|
||||
|
||||
22
.github/workflows/validate_esphome.yml
vendored
22
.github/workflows/validate_esphome.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
name: Code scan (YAML)
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Validate nspanel_esphome.yaml
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
needs:
|
||||
- code_scan
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core
|
||||
@@ -73,7 +73,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_heat
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_cool
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_dual
|
||||
@@ -130,7 +130,7 @@ jobs:
|
||||
- build_climate_heat
|
||||
- build_advanced
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced+climate_heat
|
||||
@@ -145,7 +145,7 @@ jobs:
|
||||
- build_climate_cool
|
||||
- build_advanced
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced+climate_cool+arduino
|
||||
@@ -160,7 +160,7 @@ jobs:
|
||||
- build_advanced
|
||||
- build_climate_dual
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_dual+bt_proxy+esp_idf5
|
||||
@@ -174,7 +174,7 @@ jobs:
|
||||
needs:
|
||||
- build_climate_heat_advanced
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced+climate_heat+customizations
|
||||
@@ -187,7 +187,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_core # Ensure this job runs after the core build job
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
|
||||
22
.github/workflows/validate_esphome_beta.yml
vendored
22
.github/workflows/validate_esphome_beta.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
name: Code scan (YAML)
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Validate nspanel_esphome.yaml
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
needs:
|
||||
- code_scan
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_heat
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_cool
|
||||
@@ -107,7 +107,7 @@ jobs:
|
||||
needs:
|
||||
- build_core
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_dual
|
||||
@@ -123,7 +123,7 @@ jobs:
|
||||
- build_climate_heat
|
||||
- build_advanced
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced+climate_heat
|
||||
@@ -139,7 +139,7 @@ jobs:
|
||||
- build_climate_cool
|
||||
- build_advanced
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced+climate_cool+arduino
|
||||
@@ -155,7 +155,7 @@ jobs:
|
||||
- build_advanced
|
||||
- build_climate_dual
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+climate_dual+bt_proxy+esp_idf5
|
||||
@@ -170,7 +170,7 @@ jobs:
|
||||
needs:
|
||||
- build_climate_heat_advanced
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Build core+advanced+climate_heat+customizations
|
||||
@@ -184,7 +184,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_core # Ensure this job runs after the core build job
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.0
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
|
||||
4
.github/workflows/validate_markdown.yml
vendored
4
.github/workflows/validate_markdown.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4.1.0
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4.1.0
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
|
||||
2
.github/workflows/validate_python.yml
vendored
2
.github/workflows/validate_python.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
python-version: 3.7.4
|
||||
architecture: x64
|
||||
- name: Checkout PyTorch
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@main
|
||||
- name: Install flake8
|
||||
run: pip install flake8
|
||||
- name: Run flake8
|
||||
|
||||
2
.github/workflows/validate_yamllint.yml
vendored
2
.github/workflows/validate_yamllint.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4.1.0
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user