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