2021-02-05 13:55:58 -05:00
|
|
|
name: lint
|
2021-02-05 13:44:25 -05:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
2021-02-06 16:17:06 -05:00
|
|
|
paths: 'readme.md'
|
2021-02-05 13:44:25 -05:00
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
2021-02-06 16:17:06 -05:00
|
|
|
paths: 'readme.md'
|
2021-02-05 13:44:25 -05:00
|
|
|
|
2021-02-05 13:55:58 -05:00
|
|
|
workflow_dispatch:
|
2021-02-05 13:44:25 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-02-06 16:06:14 -05:00
|
|
|
- name: Checkout
|
2021-02-05 13:55:58 -05:00
|
|
|
uses: actions/checkout@v2
|
2021-02-06 16:06:14 -05:00
|
|
|
- name: Setup Python
|
2021-02-05 13:55:58 -05:00
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
2021-02-06 16:06:14 -05:00
|
|
|
python-version: 3.9.1
|
|
|
|
- name: Execute linter
|
2021-02-05 13:55:58 -05:00
|
|
|
run: |
|
|
|
|
python linter/lint.py
|