mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-08 09:52:07 +01:00
df7e1c845d
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
25 lines
483 B
YAML
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
|