Bump version: 2.0.0 → 2.0.1 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Type Check | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: "Type Check Code Base" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up Python 3.8" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: "Install Dependencies" | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry==1.8.2 | |
poetry config virtualenvs.create false | |
poetry install --no-interaction --only main | |
- name: "Set up Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
- name: "Install Pyright" | |
run: | | |
npm install -g pyright | |
- name: "Type Check with Pyright" | |
run: | | |
pyright src |