Create ci.yml

This commit is contained in:
Arnav Jindal 2021-09-06 18:36:36 +05:30 committed by GitHub
parent 7513c2138f
commit f0f9a459b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

31
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Setup node.js (for pyright)
uses: actions/setup-node@v1
with:
node-version: "14"
- name: Run type checking
run: |
npm install -g pyright
pip install -r requirements.txt
pyright --lib --verifytypes discord --ignoreexternal
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false