From 5403a30e2c854c2d7c3ee1ac0d4372942ffd49cf 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: ddf90f7076f8f5cd1191cc81826fa54521d22b94 Former-commit-id: 5ea8accbda113ec7612db6c8443a1876304e32d2 --- .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