mirror of
https://github.com/JoseDeFreitas/awesome-youtubers.git
synced 2024-12-22 13:55:08 -05:00
Specified Python version
This commit is contained in:
parent
7ec5f91279
commit
33da91dc55
19
.github/workflows/lint.yml
vendored
19
.github/workflows/lint.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: CI
|
name: lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -6,16 +6,19 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
workflow_dispatch:
|
||||||
# workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: checkout # Checks the repository content
|
||||||
- uses: actions/setup-python@v2
|
uses: actions/checkout@v2
|
||||||
|
- name: setup python # Set up to use a specified Python version
|
||||||
- name: Run the awesome YouTubers linter
|
uses: actions/setup-python@v2
|
||||||
run: python linter/lint.py
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user