fix: 서버 수 업데이트 시 오류 핸들링 #106
Workflow file for this run
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: Cheking Type Annotations | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
type: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
sudo npm install -g pyright | |
python -m pip install -r requirements.txt | |
python -m pip install mypy | |
- name: Install integrations | |
run: | | |
python -m pip install git+https://github.com/rapptz/discord.py | |
python -m pip install dico nextcord disnake | |
- name: Checking type annotations | |
run: | | |
mypy ./koreanbots --strict | |
pyright ./koreanbots --outputjson |