Fix CI/CD issues - add caching and target correct directories
Some checks failed
CI / test (push) Failing after 5m21s
CI / build (push) Has been skipped

This commit is contained in:
2026-02-02 01:01:21 +00:00
parent 1ec6ccbf1b
commit 4d560c024b

View File

@@ -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