From 5efaaefb1cdb9f9616f405866642834e111130ec Mon Sep 17 00:00:00 2001 From: donfiguerres Date: Wed, 13 Jul 2022 19:05:52 +0800 Subject: [PATCH] Trying workaround with Poetry caching issue. Using the workaround posted here: https://github.com/actions/setup-python/issues/374#issuecomment-1088938718 Former-commit-id: 184c35e224256ea76110e100f3f36aeb94e9c949 Former-commit-id: abea5f5cf51c765f090077e953d202ba9b875fe3 --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad45130c..a567e139 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,16 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Install Python - uses: actions/setup-python@v4 - with: - python-version: 3.9 - name: Install Poetry run: pipx install poetry - - name: Cache poetry dependencies + - name: Setup Python uses: actions/setup-python@v4 with: + python-version: 3.9 cache: 'poetry' + - name: Install dependencies + run: | + poetry env use "3.9" + poetry install --no-interaction - name: Run linting run: poetry run make lint - name: Run tests