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:
|
||||
push:
|
||||
@ -6,16 +6,19 @@ on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
# workflow_dispatch:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
|
||||
- name: Run the awesome YouTubers linter
|
||||
run: python linter/lint.py
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user