5618ecf3fc
The hassfest and HACS validator actions both depend on amd64-only Docker images (ghcr.io/home-assistant/hassfest, hacs/action). On ARM64 runners — like the Gitea Actions instance hosting this fork — those images pull but fail with "exec format error" because no multi-arch image is published. Validation still runs on GitHub's amd64 ubuntu-latest runners, where it actually matters for HACS distribution.
34 lines
619 B
YAML
34 lines
619 B
YAML
name: Validate
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
hassfest:
|
|
name: Hassfest validation
|
|
runs-on: ubuntu-latest
|
|
if: runner.arch != 'ARM64'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: home-assistant/actions/hassfest@master
|
|
|
|
hacs:
|
|
name: HACS validation
|
|
runs-on: ubuntu-latest
|
|
if: runner.arch != 'ARM64'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: hacs/action@main
|
|
with:
|
|
category: integration
|
|
ignore: brands
|