1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-28 08:57:46 +00:00
GitHubWrapper/.github/workflows/pyright.yml
RGBCube f38f253de0 Cleanup workflows
- Added Bandit
- Added unimport, isort, flynt
- Added PyRight
- Enabled preview mode on Bandit
2022-06-21 18:28:11 +03:00

28 lines
652 B
YAML

name: PyRight
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 PyRight & Dependencies
run: |
pip install -U pip pyright
pip install -Ur requirements.txt
- name: Run PyRight
run: pyright ./