From 35d5ecbef31135ab7b111004aaee3938f665dd83 Mon Sep 17 00:00:00 2001 From: Kotaro Uetake <60615504+ktro2828@users.noreply.github.com> Date: Tue, 19 Sep 2023 19:06:42 +0900 Subject: [PATCH] ci: fix poetry version to 1.5.1 (#91) Signed-off-by: ktro2828 --- .github/workflows/build-and-test-mock.yaml | 3 ++- .github/workflows/build-and-test.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test-mock.yaml b/.github/workflows/build-and-test-mock.yaml index 31ed13bb..693e2aa9 100644 --- a/.github/workflows/build-and-test-mock.yaml +++ b/.github/workflows/build-and-test-mock.yaml @@ -35,7 +35,8 @@ jobs: - name: Install dependencies run: | - curl -sSL https://install.python-poetry.org | python - + : # NOTE: In Python3.7.11, failed to install poetry>=1.6.1 + curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.5.1 python - echo "$HOME/.local/bin" >> $GITHUB_PATH poetry install diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index cce192f8..df90a18b 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -32,7 +32,8 @@ jobs: - name: Install dependencies run: | - curl -sSL https://install.python-poetry.org | python - + : # NOTE: In Python3.7.11, failed to install poetry>=1.6.1 + curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.5.1 python - echo "$HOME/.local/bin" >> $GITHUB_PATH poetry install