From bd125dddf5fab7b538ed85e8832ebd8e9a7582b0 Mon Sep 17 00:00:00 2001 From: "Sergey V. DUDANOV" Date: Sun, 9 Jun 2024 14:18:21 +0400 Subject: [PATCH] split validations --- .github/workflows/validate-hacs.yml | 16 ++++++++++++++++ .github/workflows/validate-hassfest.yml | 14 ++++++++++++++ .github/workflows/validate.yml | 20 -------------------- 3 files changed, 30 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/validate-hacs.yml create mode 100644 .github/workflows/validate-hassfest.yml delete mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/validate-hacs.yml b/.github/workflows/validate-hacs.yml new file mode 100644 index 0000000..42b6fb4 --- /dev/null +++ b/.github/workflows/validate-hacs.yml @@ -0,0 +1,16 @@ +name: HACS validation + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + validate: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - uses: "hacs/action@main" + with: + category: "integration" diff --git a/.github/workflows/validate-hassfest.yml b/.github/workflows/validate-hassfest.yml new file mode 100644 index 0000000..c768e92 --- /dev/null +++ b/.github/workflows/validate-hassfest.yml @@ -0,0 +1,14 @@ +name: Hassfest validation + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + validate: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - uses: home-assistant/actions/hassfest@master diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml deleted file mode 100644 index ff9540d..0000000 --- a/.github/workflows/validate.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Validate - -on: - push: - pull_request: - schedule: - - cron: "0 0 * * *" - workflow_dispatch: - -jobs: - validate-hacs: - runs-on: "ubuntu-latest" - steps: - - uses: "actions/checkout@v3" - - name: HACS validation - uses: "hacs/action@main" - with: - category: "integration" - - name: Hassfest validation - uses: home-assistant/actions/hassfest@master