awesome-youtubers/.github/workflows/lint.yml

29 lines
461 B
YAML
Raw Normal View History

2021-02-05 13:55:58 -05:00
name: lint
2021-02-05 13:44:25 -05:00
on:
push:
branches: [ main ]
paths: 'readme.md'
2021-02-05 13:44:25 -05:00
pull_request:
branches: [ main ]
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-03-01 07:36:00 -05:00
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
2021-03-01 07:36:00 -05:00
2021-02-06 16:06:14 -05:00
- name: Execute linter
2021-02-05 13:55:58 -05:00
run: |
2021-03-21 11:44:33 -04:00
python src/linter/lint.py