From 18d257f1155c750270b437a73912d90aac1f962d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 6 Dec 2023 10:23:51 +0100 Subject: [PATCH] ci: fixed poetry caching --- .github/workflows/build.yml | 3 ++- .github/workflows/examples.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 146b0c3..d27f7fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,8 @@ jobs: with: submodules: 'recursive' + - run: pipx install poetry + - name: Set up Python uses: actions/setup-python@v4 with: @@ -29,7 +31,6 @@ jobs: - name: Install dependencies shell: bash run: | - pipx install poetry==1.3.2 python -m venv venv source venv/bin/activate || source venv/Scripts/activate make build diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index e15d45d..1409b74 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -21,6 +21,8 @@ jobs: with: submodules: 'recursive' + - run: pipx install poetry + - name: Set up Python uses: actions/setup-python@v4 with: @@ -36,7 +38,6 @@ jobs: - name: Install dependencies shell: bash run: | - pipx install poetry source venv/bin/activate || source venv/Scripts/activate make build