Skip to content

Commit

Permalink
Read python version from pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Jul 5, 2024
1 parent 2520009 commit f98f4e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version-file: "pyproject.toml"

- name: Install Python tools
run: pip install build twine
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.*"
python-version-file: "pyproject.toml"
- uses: pre-commit/[email protected]

0 comments on commit f98f4e0

Please sign in to comment.