This commit is contained in:
parent
e071ec8952
commit
56ecfea2f2
1 changed files with 7 additions and 4 deletions
|
@ -14,10 +14,13 @@ jobs:
|
|||
run: |
|
||||
add-apt-repository ppa:deadsnakes/ppa
|
||||
apt install -y python3.11 gcc python3.11-dev python3.11-venv
|
||||
- name: Install Poetry
|
||||
run: |
|
||||
curl -sSL https://install.python-poetry.org | python3.11 -
|
||||
source $HOME/.poetry/env
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3.11 -m pip install --upgrade pip
|
||||
python3.11 -m pip install pylint
|
||||
python3.11 -m pip install -U Red-DiscordBot pytimeparse2 yt-dlp
|
||||
poetry install --with dev
|
||||
- name: Analysing the code with Pylint
|
||||
run: pylint $(git ls-files '*.py')
|
||||
run: |
|
||||
poetry run pylint $(git ls-files '*.py')
|
||||
|
|
Loading…
Reference in a new issue