From f17b2d053e527d026a09fa0074ffdfba199a49b0 Mon Sep 17 00:00:00 2001 From: JSC Date: Wed, 30 Jul 2025 22:27:54 +0200 Subject: [PATCH] feat: Add Backend CI workflow for linting and setup --- .gitea/workflows/test.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..5a9360f --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,31 @@ +name: Backend CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: "Set up python" + uses: actions/setup-python@v5 + with: + python-version-file: "pyproject.toml" + + - name: Install uv + uses: astral-sh/setup-uv@v6 + + - name: Install requirements + run: uv sync --locked --all-extras --dev + + - name: Run linter + run: uv run ruff check \ No newline at end of file