mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-20 09:51:29 +10:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user