From 831d88689dfb1edf362493255c35dec5b555d262 Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Wed, 30 Sep 2026 11:21:55 +0200 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 11 +++++++---- .gitignore | 2 +- common/.esphome/external_components/b7dc7eea | 1 - 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 160000 common/.esphome/external_components/b7dc7eea diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c61f94..20deb6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,11 +10,11 @@ jobs: name: YAML lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Get changed YAML files id: changed - uses: tj-actions/changed-files@v46 + uses: tj-actions/changed-files@v47 with: files: "**/*.yaml" @@ -28,16 +28,19 @@ jobs: name: ESPHome config validation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Get changed device configs id: changed - uses: tj-actions/changed-files@v46 + uses: tj-actions/changed-files@v47 with: files: "mcu-*.yaml" - name: Install ESPHome (dev) 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 - name: Prepare secrets diff --git a/.gitignore b/.gitignore index 5c51e5d..9c0726c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ # This is an example and may include too much for your use-case. # You can modify this file to suit your needs. /.claude/ -/.esphome/ +.esphome/ /secrets.yaml /archive/ /trash/ diff --git a/common/.esphome/external_components/b7dc7eea b/common/.esphome/external_components/b7dc7eea deleted file mode 160000 index 16571e8..0000000 --- a/common/.esphome/external_components/b7dc7eea +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 16571e8a9028b0c4342d21adc215c25af9241a1f