From 0e88edfce273f59dbc9457623ec83d3a6504df1f Mon Sep 17 00:00:00 2001 From: Alex X Date: Fri, 5 Jan 2024 16:57:19 +0300 Subject: [PATCH] Update hacs github workflow --- .github/workflows/hacs.yml | 18 ++++++++++++++++++ .github/workflows/validate.yml | 17 ----------------- 2 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/hacs.yml delete mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/hacs.yml b/.github/workflows/hacs.yml new file mode 100644 index 0000000..765435a --- /dev/null +++ b/.github/workflows/hacs.yml @@ -0,0 +1,18 @@ +name: HACS validation + +on: + push: + pull_request: + +jobs: + hacs: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v2" + - uses: "hacs/action@main" + with: { category: "integration" } + hassfest: + 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 0844926..0000000 --- a/.github/workflows/validate.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Validate - -on: - push: - pull_request: -# schedule: -# - cron: "0 0 * * *" - -jobs: - validate: - runs-on: "ubuntu-latest" - steps: - - uses: "actions/checkout@v2" - - name: HACS validation - uses: "hacs/action@main" - with: - category: "integration" \ No newline at end of file