✨ feat: support PEP604 #23
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: CodeStyle Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
code-style-check: | |
runs-on: ubuntu-latest | |
name: CodeStyle Check | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
pip install -e .[all] | |
pip install pytest | |
- name: Run pre-commit | |
uses: pre-commit/action@v3.0.0 |