From e5c979fab41eb4dbee40e86b5466711773bfa04d Mon Sep 17 00:00:00 2001 From: Nathan Spencer Date: Mon, 8 Jul 2024 10:35:00 -0600 Subject: [PATCH] Add validate GHA --- .github/workflows/validate.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/validate.yaml diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml new file mode 100644 index 0000000..9cb1c30 --- /dev/null +++ b/.github/workflows/validate.yaml @@ -0,0 +1,22 @@ +name: Validate repo + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + hassfest: + name: Validate with hassfest + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v4" + - uses: "home-assistant/actions/hassfest@master" + hacs: + name: Validate with HACS + runs-on: "ubuntu-latest" + steps: + - uses: "hacs/action@main" + with: + category: "integration"