From 3a68636a6343f2aa9b679cb2a61f6ec301465b54 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 2 Apr 2022 05:12:42 -0500 Subject: [PATCH] ci(docs,tests): pipx install poetry==1.1.12 --- .github/workflows/docs.yml | 6 +----- .github/workflows/tests.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 859f59676..1550d3de4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,11 +34,7 @@ jobs: run: echo "PUBLISH=$(echo true)" >> $GITHUB_ENV - name: Install poetry - run: | - curl -O -sSL https://install.python-poetry.org/install-poetry.py - python install-poetry.py -y --version 1.1.12 - echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV - rm install-poetry.py + run: pipx install 'poetry==1.1.12' - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 87dd326c2..5be5deea7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,11 +11,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install poetry - run: | - curl -O -sSL https://install.python-poetry.org/install-poetry.py - python install-poetry.py -y --version 1.1.12 - echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV - rm install-poetry.py + run: pipx install 'poetry==1.1.12' - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3