mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
53 lines
985 B
YAML
53 lines
985 B
YAML
name: Lint
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- appdaemon
|
|
- blacklist
|
|
- critical
|
|
- integration
|
|
- netdaemon
|
|
- plugin
|
|
- python_script
|
|
- removed
|
|
- theme
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- appdaemon
|
|
- blacklist
|
|
- critical
|
|
- integration
|
|
- netdaemon
|
|
- plugin
|
|
- python_script
|
|
- removed
|
|
- theme
|
|
|
|
concurrency:
|
|
group: lint-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
jq:
|
|
name: JQ
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Validate
|
|
run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed theme
|
|
|
|
sorted:
|
|
name: Sorted
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Check lists
|
|
run: python3 scripts/is_sorted.py |