mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-18 08:51:44 +10:00
26 lines
659 B
YAML
26 lines
659 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:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v2
|
|
- name: Validate ${{ matrix.checks }}
|
|
run: jq --raw-output "." "${{ matrix.checks }}"
|
|
|
|
sorted:
|
|
name: Sorted
|
|
if: ${{ always() }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v2
|
|
- name: Check lists
|
|
run: python3 scripts/is_sorted.py |