From a765ee49e8870b697fe654aa1016e09a3a5e3db3 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Wed, 28 Aug 2024 19:12:27 +0000 Subject: [PATCH] Use prebuildt image for hassfest --- .github/workflows/checks.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0975377..60c66b9 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -88,21 +88,13 @@ jobs: run: | git clone --depth 1 "https://github.com/${{needs.preflight.outputs.repository}}" /tmp/repositories/addition - - name: Get hassfest action - run: | - git clone --depth 1 https://github.com/home-assistant/actions.git /tmp/actions - - - name: Build hassfest - run: docker build /tmp/actions/hassfest -f /tmp/actions/hassfest/Dockerfile -t hassfest - - name: Run hassfest run: | integration=$(python3 -m scripts.helpers.integration_path) domain=$(python3 -m scripts.helpers.domain) - docker run \ - --rm \ + docker run --rm \ -v "$integration":"/github/workspace/$domain" \ - hassfest + ghcr.io/homeassistant/hassfest:latest hacs: runs-on: ubuntu-latest