mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-18 00:41:45 +10:00
* test matrix * Add test * Move more to matrix * test * test always * Move HACS away * Combine checks
24 lines
589 B
YAML
24 lines
589 B
YAML
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 |