From d03ffe3045416ccf8b07b9cb1571fe2868aaa152 Mon Sep 17 00:00:00 2001 From: Paul Craig Date: Mon, 12 Aug 2024 12:26:42 -0400 Subject: [PATCH] Try again --- .github/workflows/django_ci.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/django_ci.yml b/.github/workflows/django_ci.yml index e86b8750..677ec446 100644 --- a/.github/workflows/django_ci.yml +++ b/.github/workflows/django_ci.yml @@ -11,22 +11,20 @@ on: jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./bloom_nofos steps: - - uses: actions/checkout@v2 - name: Check out repository - - - name: Set up Python - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: - python-version: "3.11" # Set this to the Python version you are using - - - name: Install Poetry - run: | - curl -sSL https://install.python-poetry.org | python3 - - - - name: Configure Poetry - run: | - poetry config virtualenvs.create false + python-version: "3.11" + - uses: Gr1N/setup-poetry@v8 + - uses: actions/cache@v2 + with: + path: ~/.cache/pypoetry/virtualenvs + key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} + - run: poetry --version - name: Install dependencies run: poetry install