Files
anyway/.gitea/workflows/backend_run_lint.yaml
kilian e95088ad25
Some checks failed
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Has been cancelled
Run linting on the backend code / Build (pull_request) Failing after 2m24s
Run testing on the backend code / Build (pull_request) Failing after 22s
simpler lint job
2025-11-24 15:35:25 +01:00

26 lines
473 B
YAML

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