Skip to content

Commit

Permalink
ci: Python version based on pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Nov 2, 2024
1 parent ac32af2 commit fd920fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd920fe

Please sign in to comment.