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