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

27 lines
455 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-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