Merge CI files (#488)

* test matrix

* Add test

* Move more to matrix

* test

* test always

* Move HACS away

* Combine checks
This commit is contained in:
Joakim Sørensen
2020-05-27 18:24:59 +02:00
committed by GitHub
parent 1447c2a2fc
commit c65657e1e4
16 changed files with 127 additions and 381 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Lint
on: [push, pull_request]
jobs:
jq:
name: JQ
if: ${{ always() }}
runs-on: ubuntu-latest
strategy:
matrix:
checks: [appdaemon, blacklist, critical, integration, netdaemon, plugin, python_script, removed, theme]
steps:
- uses: actions/checkout@v2
- name: Validate ${{ matrix.checks }}
run: jq --raw-output "." "${{ matrix.checks }}"
sorted:
name: Sorted
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check lists
run: python3 scripts/is_sorted.py