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:
parent
72df282684
commit
a33985c69b
5 changed files with 6 additions and 33 deletions
3
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
3
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/bandit.yml
vendored
2
.github/workflows/bandit.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -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
|
||||
|
|
26
.github/workflows/pylint.yml
vendored
26
.github/workflows/pylint.yml
vendored
|
@ -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')
|
6
.github/workflows/pyright.yml
vendored
6
.github/workflows/pyright.yml
vendored
|
@ -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 ./
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue