1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-25 15:37:45 +00:00

Cleaned up .github/

- Removed PyLint
- Used poetry for dependencies
- Made workflows only run for CPython 3.8
This commit is contained in:
RGBCube 2022-06-25 14:05:51 +03:00
parent 72df282684
commit a33985c69b
5 changed files with 6 additions and 33 deletions

View file

@ -53,8 +53,7 @@ body:
- type: checkboxes
attributes:
label: Checklist
description: |
Let's make sure you've properly done due diligence when reporting this issue!
description: Let's make sure you've properly done due diligence when reporting this issue!
options:
- label: I have searched the open issues for duplicates.
required: true

View file

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
python-version: [ "3.8" ]
steps:
- name: Checkout Repository

View file

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
python-version: [ "3.8" ]
steps:
- name: Checkout Repository

View file

@ -1,26 +0,0 @@
name: PyLint
on: [ pull_request, push ]
jobs:
build:
if: github.event.pull_request.user.type != 'Bot'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install PyLint
run: pip install -U pip pylint
- name: Run PyLint
run: pylint $(git ls-files '*.py')

View file

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
python-version: [ "3.8" ]
steps:
- name: Checkout Repository
@ -21,8 +21,8 @@ jobs:
- name: Install PyRight & Dependencies
run: |
pip install -U pip pyright
pip install -Ur requirements.txt
pip install -U poetry pyright
poetry install --no-dev
- name: Run PyRight
run: pyright ./