Skip to content

Ci uplift

Ci uplift #2

Workflow file for this run

name: Python Lint and Type Check
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install flake8 mypy black
- name: Set execute permission for build.sh and dist.sh
run: |
chmod +x ./scripts/lint.sh
chmod +x ./scripts/type_check.sh
- name: Run Linting
run: ./scripts/lint.sh
- name: Run Type Checks
run: ./scripts/type_check.sh