Skip to content

Commit

Permalink
Merge pull request #11 from hudsonbrendon/feature/github-actions
Browse files Browse the repository at this point in the history
feat: add validations with github actions
  • Loading branch information
hudsonbrendon committed Apr 23, 2023
2 parents 511aaec + 74304d1 commit 0d52990
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflow/hassfest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Validate hassfest and HACS

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
hassfest:
name: Hassfest
runs-on: "ubuntu-latest"
steps:
- name: ⤵️ Check out code from GitHub
uses: "actions/checkout@v3"

- name: 🚀 Run hassfest validation
uses: home-assistant/actions/hassfest@master
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- name: HACS Action
uses: "hacs/action@main"
with:
category: "integration"
4 changes: 2 additions & 2 deletions custom_components/drivvo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/hudsonbrendon/sensor.drivvo",
"documentation": "https://github.com/hudsonbrendon/sensor.drivvo#readme",
"iot_class": "cloud_polling",
"requirements": [],
"version": "1.0.0"
"version": "1.0.1"
}

0 comments on commit 0d52990

Please sign in to comment.