esphome-docs/.github/workflows/lint.yml
Otto Winter df7e1c845d
Update GH Actions CI Workflow (#684)
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2020-07-14 19:09:20 +02:00

25 lines
483 B
YAML

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