mirror of
https://github.com/JoseDeFreitas/awesome-youtubers.git
synced 2024-09-07 17:41:56 +00:00
25 lines
541 B
YAML
25 lines
541 B
YAML
name: lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: checkout # Checks the repository content
|
|
uses: actions/checkout@v2
|
|
- name: setup python # Set up to use a specified Python version
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9.1 # Use Python version 3.9.1
|
|
- name: execute linter # Run the linter/lint.py file
|
|
run: |
|
|
python linter/lint.py
|