mypy #70
This file contains hidden or 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: Check Imports | |
| on: [push] | |
| jobs: | |
| check_imports: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Checkout the code | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| # Step 2: Set up Python environment | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' # Choose your Python version | |
| # Step 3: Check whether the imports only include known dependencies | |
| - name: Check whether the imports only include known dependencies | |
| run: | | |
| python ./.github/workflows/check_imports.py . |