diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ff7d038 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,35 @@ +name: Linting + +on: + push: + branches: + - master + pull_request: + schedule: + - cron: "0 0 * * *" + +env: + DEFAULT_PYTHON: 3.9 + +jobs: + hacs: + runs-on: "ubuntu-latest" + name: HACS + steps: + - name: Check out the repository + uses: "actions/checkout@v3.0.2" + + - name: HACS validation + uses: "hacs/action@22.5.0" + with: + category: "integration" + + hassfest: + runs-on: "ubuntu-latest" + name: Hassfest + steps: + - name: Check out the repository + uses: "actions/checkout@v3.0.2" + + - name: Hassfest validation + uses: "home-assistant/actions/hassfest@master" diff --git a/README.md b/README.md index 14e0411..2e5488d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +![GitHub](https://img.shields.io/github/license/alemuro/ha-cecotec-conga?style=flat-square) +![GitHub release (latest by date)](https://img.shields.io/github/v/release/alemuro/ha-cecotec-conga?style=flat-square) +![GitHub Release Date](https://img.shields.io/github/release-date/alemuro/ha-cecotec-conga?style=flat-square) # Cecotec Conga integration This integration aims to manage new versions of Cecotec Conga vacuum cleaner. The ones that cannot be managed with [FreeConga](https://freecon.ga/).