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 uv (manually) run: | curl -LsSf https://astral.sh/uv/install.sh | sh echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install dependencies working-directory: backend run: | uv sync --frozen --no-cache --no-dev - name: Run linter run: pipenv run pylint src --fail-under=9 working-directory: backend