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 d4dcf8c commit 83bd105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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
4 changes: 1 addition & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pre-commit-lite
name: Pre-Commit

on:
workflow_dispatch:
Expand All @@ -11,6 +11,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.*"
- uses: pre-commit/[email protected]

0 comments on commit 83bd105

Please sign in to comment.