From 88df8a95d673ddfc7f6aa7858592cd450ea10b90 Mon Sep 17 00:00:00 2001 From: adamghill Date: Sun, 28 Jul 2024 15:56:08 -0400 Subject: [PATCH] More poetry install. --- .github/workflows/python.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 736c8bea..427671ac 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -15,12 +15,6 @@ jobs: with: fetch-depth: 1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - cache: "poetry" - - name: Install Poetry run: pipx install poetry @@ -28,6 +22,12 @@ jobs: run: | poetry config virtualenvs.path ~/.virtualenvs${{ matrix.python-version }} + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + cache: "poetry" + - name: Install dependencies run: poetry install @@ -48,12 +48,6 @@ jobs: with: fetch-depth: 1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - cache: "poetry" - - name: Install Poetry run: pipx install poetry @@ -61,6 +55,12 @@ jobs: run: | poetry config virtualenvs.path ~/.virtualenvs${{ matrix.python-version }} + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + cache: "poetry" + - name: Install dependencies run: poetry install -E minify