Merge remote-tracking branch 'origin/master' #77
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 Python Shebang | |
| on: [push] | |
| jobs: | |
| check_python_shebang: | |
| 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 python bash is present in all .py files | |
| - name: Check whether the python bash is present in all .py files | |
| run: | | |
| python ./.github/workflows/check_python_shebang.py . |