From 4d560c024b104104eeb2707436aed23f5298b610 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 01:01:21 +0000 Subject: [PATCH] Fix CI/CD issues - add caching and target correct directories --- .gitea/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c5f60f6..3e23c66 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,6 +24,12 @@ jobs: virtualenvs-in-project: true installer-parallel: true + - name: Cache Poetry installation + uses: actions/cache@v4 + with: + path: ~/.local + key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} + - name: Install dependencies run: | poetry install --with dev @@ -34,7 +40,7 @@ jobs: - name: Run linting run: | - poetry run ruff check . + poetry run ruff check codechunk tests - name: Run type checking run: | @@ -58,6 +64,12 @@ jobs: virtualenvs-in-project: true installer-parallel: true + - name: Cache Poetry installation + uses: actions/cache@v4 + with: + path: ~/.local + key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} + - name: Build package run: | poetry build