diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 34fab00..9a67d1f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ jobs: run: pipx install poetry - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: './libertai_agents/pyproject.toml' cache: 'poetry' - name: Install dependencies run: poetry install @@ -40,7 +40,7 @@ jobs: run: pipx install poetry - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: './libertai_agents/pyproject.toml' cache: 'poetry' - name: Install dependencies run: pip install ruff @@ -59,7 +59,7 @@ jobs: run: pipx install poetry - uses: actions/setup-python@v5 with: - python-version-file: 'pyproject.toml' + python-version-file: './backend/pyproject.toml' cache: 'poetry' - name: Install dependencies run: poetry install @@ -68,7 +68,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-check workdir: './backend' - target: "./backend" + target: "./src" execute_command: 'poetry run mypy' backend-ruff: diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 74bc4a0..c45e545 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -22,7 +22,7 @@ jobs: run: pipx install poetry - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: './libertai_agents/pyproject.toml' cache: 'poetry' - name: Install dependencies run: poetry install