From 20c56dd9ff375ec8ea8c236142f372b561cf5ac2 Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Tue, 8 Jul 2025 17:28:53 +0200 Subject: [PATCH] chore: depot runners (#22256) --- .github/workflows/claude-issue-triage.yml | 2 +- .github/workflows/default.yml | 24 +++++++++++++++-------- .github/workflows/docs-issue.yml | 2 +- .github/workflows/documentation.yml | 4 +++- .github/workflows/nightly.yml | 10 ++++++---- .github/workflows/release.yml | 10 ++++++---- .github/workflows/schema.yml | 2 +- .github/workflows/stale.yaml | 2 +- .github/workflows/website.yml | 4 +++- README.md | 5 +++-- 10 files changed, 41 insertions(+), 24 deletions(-) diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml index fa64fcd08..233418b1d 100644 --- a/.github/workflows/claude-issue-triage.yml +++ b/.github/workflows/claude-issue-triage.yml @@ -6,7 +6,7 @@ on: jobs: triage-issue: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm timeout-minutes: 10 permissions: contents: read diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index b180cf2f9..9b01cc857 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -10,14 +10,14 @@ on: jobs: clean: name: Clean - runs-on: ubuntu-24.04 + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - cache: false + go-version: "1.24.0" id: go - uses: actions/cache@v4 @@ -44,13 +44,14 @@ jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: + go-version: "1.24.0" cache: false id: go @@ -76,13 +77,14 @@ jobs: test: name: Test - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: + go-version: "1.24.0" cache: false id: go @@ -101,13 +103,14 @@ jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: + go-version: "1.24.0" cache: false # avoid cache thrashing id: go @@ -131,7 +134,7 @@ jobs: ui: name: UI - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 @@ -166,13 +169,14 @@ jobs: integration: name: Integration - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm-16 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: + go-version: "1.24.0" cache: false id: go @@ -208,10 +212,14 @@ jobs: path: ~/.cache/ms-playwright key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }} - - name: Install Playwright + - name: Install Playwright (browsers + deps) if: steps.playwright-cache.outputs.cache-hit != 'true' run: npx playwright install --with-deps chromium + - name: Install Playwright (deps only) + if: steps.playwright-cache.outputs.cache-hit == 'true' + run: npx playwright install-deps chromium + - name: Run tests run: npx playwright test env: diff --git a/.github/workflows/docs-issue.yml b/.github/workflows/docs-issue.yml index 2186e0019..72e45cdb5 100644 --- a/.github/workflows/docs-issue.yml +++ b/.github/workflows/docs-issue.yml @@ -7,7 +7,7 @@ on: jobs: check-label-and-create-issue: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm if: github.event.pull_request.merged == true steps: - name: Check for 'needs documentation' label diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 96a0f6d06..8b2e4abf3 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -10,12 +10,14 @@ on: jobs: docupdate: name: Deploy updated templates - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 + with: + go-version: "1.24.0" id: go - name: Build docs diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b91a93292..49ebc9f5b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -7,7 +7,7 @@ on: jobs: check_date: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm name: Check latest commit outputs: should_run: ${{ steps.should_run.outputs.should_run }} @@ -35,7 +35,7 @@ jobs: name: Publish Docker :nightly needs: - call-build-workflow - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 @@ -88,7 +88,7 @@ jobs: name: Hassio Addon :nightly needs: - docker - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - name: Checkout @@ -117,7 +117,7 @@ jobs: name: Publish APT nightly needs: - call-build-workflow - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 @@ -125,6 +125,8 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v5 + with: + go-version: "1.24.0" id: go - name: Patch ASN1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a61e05a16..2c045e650 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: name: Publish Docker :release needs: - call-build-workflow - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 @@ -51,7 +51,7 @@ jobs: name: Github & APT needs: - call-build-workflow - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 @@ -60,6 +60,8 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 + with: + go-version: "1.24.0" id: go - name: Patch ASN1 @@ -111,7 +113,7 @@ jobs: name: Demo needs: - docker - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} steps: @@ -123,7 +125,7 @@ jobs: name: Hassio Addon needs: - docker - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - name: Checkout diff --git a/.github/workflows/schema.yml b/.github/workflows/schema.yml index 89e459494..6c651fc88 100644 --- a/.github/workflows/schema.yml +++ b/.github/workflows/schema.yml @@ -12,7 +12,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index a4d89a39d..a3cd850f0 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -9,7 +9,7 @@ on: jobs: stale: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/stale@v9 id: stale diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index e2cedc92d..e14d31df2 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -8,12 +8,14 @@ on: jobs: brandupdate: name: Deploy data to website - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04-arm steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 + with: + go-version: "1.24.0" id: go - name: Build docs diff --git a/README.md b/README.md index 8faee1372..4fdedc4ba 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,10 @@ [![Build](https://github.com/evcc-io/evcc/actions/workflows/nightly.yml/badge.svg)](https://github.com/evcc-io/evcc/actions/workflows/nightly.yml) [![Translation](https://hosted.weblate.org/widgets/evcc/-/evcc/svg-badge.svg)](https://hosted.weblate.org/engage/evcc/) -[![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20VS%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc)](https://open.vscode.dev/evcc-io/evcc) +![Docker Pulls](https://img.shields.io/docker/pulls/evcc/evcc) [![OSS hosting by cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith)](https://cloudsmith.io/~evcc/packages/) -[![Latest Version](https://img.shields.io/github/release/evcc-io/evcc.svg)](https://github.com/evcc-io/evcc/releases) +[![Latest Version](https://img.shields.io/github/release/evcc-io/evcc.svg)](https://github.com/evcc-io/evcc/releases)
+[![Built with Depot](https://depot.dev/badges/built-with-depot.svg)](https://depot.dev/?utm_source=evcc) evcc is an extensible EV Charge Controller and home energy management system.