name: Linting on: push: branches: - '*' pull_request: branches: - '*' workflow_dispatch: jobs: build: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install lint dependencies run: pip install wheel setuptools black isort flake8 - name: Lint the code run: sh shell/lint.sh