Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m48s
Run linting on the backend code / Build (pull_request) Failing after 41s
Run testing on the backend code / Build (pull_request) Failing after 25s
Build and deploy the backend to staging / Deploy to staging (pull_request) Failing after 1m0s
31 lines
564 B
YAML
31 lines
564 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 uv
|
|
uses: astral-sh/setup-uv@v6
|
|
with:
|
|
version: "0.9.11"
|
|
|
|
- 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
|