esphome-docs/.github/workflows/lint.yml

28 lines
514 B
YAML
Raw Normal View History

2020-07-10 18:50:51 +02:00
name: Lint
on:
push:
# On other branches the `pull_request` trigger will be used
branches: [current, next]
2020-07-10 18:50:51 +02:00
pull_request:
permissions:
contents: read
2020-07-10 18:50:51 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
2020-07-10 18:50:51 +02:00
uses: actions/setup-python@v2
with:
python-version: 3.8
2020-07-10 18:50:51 +02:00
- name: Install dependencies
run: pip install -r requirements.txt
2020-07-10 18:50:51 +02:00
- name: Lint
run: |
python travis.py
make html-strict