Specified Python version

This commit is contained in:
José De Freitas 2021-02-05 13:55:58 -05:00 committed by GitHub
parent 7ec5f91279
commit 33da91dc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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