on: pull_request: branches: - main paths: - backend/** name: Run linting on the backend code jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: https://gitea.com/actions/checkout@v4 - name: Install pylint run: | apt-get update && apt-get install -y python3 python3-pip pip install pylint - name: Run linter run: pylint src --fail-under=9 working-directory: backend