diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index c85b221..32d4855 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -34,7 +34,7 @@ jobs: shell: bash steps: - name: Checkout Source (${{ matrix.project }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: python-poetry/${{ matrix.project }} @@ -51,7 +51,9 @@ jobs: run: pipx install poetry - name: Configure poetry - run: poetry config virtualenvs.in-project true + run: | + poetry config virtualenvs.in-project true + poetry env use ${{ matrix.python-version }} - name: Get full Python version if: matrix.project != 'poetry-core' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c3966d..c9257e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,10 @@ jobs: id: tag run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/} - - name: Set up Python 3.11 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: 3.x - name: Install and set up Poetry run: pipx install poetry diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cd55c05..a62f9c0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,15 +28,15 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-13, windows-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11", 3.12] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: "recursive" - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -53,6 +53,7 @@ jobs: shell: bash run: | poetry config virtualenvs.in-project true + poetry env use ${{ matrix.python-version }} - name: Set up cache uses: actions/cache@v3