Skip to content

Commit

Permalink
chore: restructure ci, update version
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlba91 committed Feb 12, 2021
1 parent 97257c3 commit ff7630f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

validate_hacs:
runs-on: ubuntu-latest
name: Check the Codebase

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: HACS Validation
uses: hacs/action@main
with:
Expand All @@ -75,6 +85,7 @@ jobs:
if: github.ref == 'refs/heads/master'
needs:
- test
- validate_hacs
strategy:
max-parallel: 4
matrix:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ jobs:
run: |
poetry run pytest
validate_hacs:
runs-on: ubuntu-latest
name: Check the Codebase

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: HACS Validation
uses: hacs/action@main
with:
Expand Down
4 changes: 3 additions & 1 deletion .versionrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"releaseCommitMessageFormat": "chore(release): release {{currentTag}} [skip ci] [release]",
"tagPrefix": "v",
"bumpFiles": [],
"bumpFiles": [
"custom_components/hella_onyx/manifest.json"
],
"packageFiles": [],
"header": "# Changelog\n\n"
}
3 changes: 2 additions & 1 deletion custom_components/hella_onyx/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"dependencies": [],
"codeowners": [
"@muhlba91"
]
],
"version": "0.0.0"
}

0 comments on commit ff7630f

Please sign in to comment.