diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 1ef3f5f33..216183e4f 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -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 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 70b66a981..612219c03 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -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/action@v3.0.1