diff --git a/.github/workflows/combined.yaml b/.github/workflows/combined.yaml deleted file mode 100644 index 0c8b986..0000000 --- a/.github/workflows/combined.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: "Validation And Formatting" -on: - push: - pull_request: - schedule: - - cron: '0 0 * * *' -jobs: - ci: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - name: Download repo - with: - fetch-depth: 0 - - uses: actions/setup-python@v2 - name: Setup Python - - uses: actions/cache@v2 - name: Cache - with: - path: | - ~/.cache/pip - key: custom-component-ci - - uses: hacs/action@main - with: - CATEGORY: integration - - uses: KTibow/ha-blueprint@stable - name: CI - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml new file mode 100644 index 0000000..3e39d49 --- /dev/null +++ b/.github/workflows/validate.yaml @@ -0,0 +1,19 @@ +name: Validate + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + validate-hacs: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - name: HACS validation + uses: "hacs/action@main" + with: + category: "integration" + diff --git a/.vscode/settings.json b/.vscode/settings.json index 8e3d20f..0411325 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,3 @@ { "python.pythonPath": "C:\\Program Files\\Python39\\python.exe", - "files.associations": { - "*.yaml": "python" - } } \ No newline at end of file