diff --git a/.github/workflows/.lint.yml b/.github/workflows/.lint.yml index 2f5f720996..7ea8f23b28 100644 --- a/.github/workflows/.lint.yml +++ b/.github/workflows/.lint.yml @@ -79,7 +79,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment @@ -125,7 +125,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment @@ -441,7 +441,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment @@ -488,7 +488,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment @@ -637,7 +637,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment @@ -690,7 +690,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment @@ -738,7 +738,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment diff --git a/.github/workflows/.static-type-check.yml b/.github/workflows/.static-type-check.yml index 0d01169c9f..27c1b68439 100644 --- a/.github/workflows/.static-type-check.yml +++ b/.github/workflows/.static-type-check.yml @@ -89,7 +89,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: pyproject.toml cache: poetry cache-dependency-path: poetry.lock - name: Set Poetry environment diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2222348abb..95ecd64cfe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -508,7 +508,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: api-python/pyproject.toml cache: poetry cache-dependency-path: api-python/poetry.lock - name: Set Poetry environment @@ -544,7 +544,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version-file: neural-forecasting/forecast-air-passenger-number/pyproject.toml cache: poetry cache-dependency-path: neural-forecasting/forecast-air-passenger-number/poetry.lock - name: Set Poetry environment