Files
default/.github/workflows/lint.yml
T
dependabot[bot]andJoakim Sørensen cdbfacc468 Bump actions/checkout from 2 to 3.5.0 (#1832)
* Bump actions/checkout from 2 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2023-04-09 13:11:57 +02:00

55 lines
1.0 KiB
YAML

name: Lint
on:
pull_request:
branches:
- master
paths:
- appdaemon
- blacklist
- critical
- integration
- netdaemon
- plugin
- python_script
- removed
- template
- theme
push:
branches:
- master
paths:
- appdaemon
- blacklist
- critical
- integration
- netdaemon
- plugin
- python_script
- removed
- template
- 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@v3.5.0
- name: Validate
run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed template theme
sorted:
name: Sorted
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3.5.0
- name: Check lists
run: python3 scripts/is_sorted.py