From e203f3aa90dc9d0986d49571ca3bb177590cec59 Mon Sep 17 00:00:00 2001 From: Krisjanis Lejejs Date: Sun, 26 Dec 2021 21:31:25 +0200 Subject: [PATCH] Updated Github workflows --- .../workflows/{validate.yml => validate_hacs.yml} | 2 +- .github/workflows/validate_hass.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) rename .github/workflows/{validate.yml => validate_hacs.yml} (93%) create mode 100644 .github/workflows/validate_hass.yaml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate_hacs.yml similarity index 93% rename from .github/workflows/validate.yml rename to .github/workflows/validate_hacs.yml index 6b7f72e..e958a0c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate_hacs.yml @@ -1,4 +1,4 @@ -name: Validate +name: Validate HACS on: push: diff --git a/.github/workflows/validate_hass.yaml b/.github/workflows/validate_hass.yaml new file mode 100644 index 0000000..cfa0f62 --- /dev/null +++ b/.github/workflows/validate_hass.yaml @@ -0,0 +1,14 @@ +name: Validate with hassfest + +on: + push: + pull_request: + schedule: + - cron: '0 0 * * *' + +jobs: + validate: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v2" + - uses: "home-assistant/actions/hassfest@master" \ No newline at end of file