mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
CI: Node 24 actions, pip on PEP 668 runner images, drop committed build cache
- actions/checkout@v7 and tj-actions/changed-files@v47 (Node 20 is deprecated) - PIP_BREAK_SYSTEM_PACKAGES for Gitea's runner image (externally-managed Python) - untrack common/.esphome (a gitlink with no submodule mapping) and ignore .esphome/ in every directory
This commit is contained in:
1 parent
170fd69274
commit
831d88689d
3 files changed
+8
-6
No files matched your search
@@ -10,11 +10,11 @@ jobs:
|
|||||||
name: YAML lint
|
name: YAML lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Get changed YAML files
|
- name: Get changed YAML files
|
||||||
id: changed
|
id: changed
|
||||||
uses: tj-actions/changed-files@v46
|
uses: tj-actions/changed-files@v47
|
||||||
with:
|
with:
|
||||||
files: "**/*.yaml"
|
files: "**/*.yaml"
|
||||||
|
|
||||||
@@ -28,16 +28,19 @@ jobs:
|
|||||||
name: ESPHome config validation
|
name: ESPHome config validation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Get changed device configs
|
- name: Get changed device configs
|
||||||
id: changed
|
id: changed
|
||||||
uses: tj-actions/changed-files@v46
|
uses: tj-actions/changed-files@v47
|
||||||
with:
|
with:
|
||||||
files: "mcu-*.yaml"
|
files: "mcu-*.yaml"
|
||||||
|
|
||||||
- name: Install ESPHome (dev)
|
- name: Install ESPHome (dev)
|
||||||
if: steps.changed.outputs.any_changed == 'true'
|
if: steps.changed.outputs.any_changed == 'true'
|
||||||
|
# Gitea's runner image marks the system Python as externally managed (PEP 668)
|
||||||
|
env:
|
||||||
|
PIP_BREAK_SYSTEM_PACKAGES: "1"
|
||||||
run: pip install git+https://github.com/esphome/esphome.git@dev
|
run: pip install git+https://github.com/esphome/esphome.git@dev
|
||||||
|
|
||||||
- name: Prepare secrets
|
- name: Prepare secrets
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# This is an example and may include too much for your use-case.
|
# This is an example and may include too much for your use-case.
|
||||||
# You can modify this file to suit your needs.
|
# You can modify this file to suit your needs.
|
||||||
/.claude/
|
/.claude/
|
||||||
/.esphome/
|
.esphome/
|
||||||
/secrets.yaml
|
/secrets.yaml
|
||||||
/archive/
|
/archive/
|
||||||
/trash/
|
/trash/
|
||||||
|
|||||||
Submodule common/.esphome/external_components/b7dc7eea deleted from 16571e8a90.
Reference in new issue
Block a user