diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4dce905..771d613 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -31,14 +31,16 @@ jobs: - name: Check out repository uses: actions/checkout@v3 - - name: Install Poetry - uses: snok/install-poetry@v1 - - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - cache: "poetry" + + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true #- name: Setup macOS PATH # if: runner.os == 'macOS' @@ -49,7 +51,7 @@ jobs: id: cached-poetry-dependencies uses: actions/cache@v3 with: - path: .venv + path: ~/.cache key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies