From ef0d74ccc7bbd51aefb4ea558799189ae79f7692 Mon Sep 17 00:00:00 2001 From: Tim O'Guin <timoguin@proton.me> Date: Sat, 2 Mar 2024 00:48:47 -0600 Subject: [PATCH] chore (ci): Fix Poetry setup action --- .github/workflows/ci.yml | 12 ++++++------ Makefile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e623ced..1718c60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: python-version: 3.9 - name: Install Poetry - uses: snok/install-poetry@v1.1.6 + uses: snok/install-poetry@v1.3.4 with: virtualenvs-create: false virtualenvs-in-project: true @@ -36,7 +36,7 @@ jobs: uses: syphar/restore-virtualenv@v1 id: cache-venv with: - requirements_files: poetry.lock + requirement_files: poetry.lock # need to set this to manually bust the cache custom_cache_key_element: v2 @@ -46,7 +46,7 @@ jobs: - name: Install Python dependencies if: steps.cache-venv.outputs.cache-hit != 'true' - run: make python-install-deps PY_INSTALL_ARGS="--extras=all" + run: make python-install-deps lint: name: Lint @@ -64,7 +64,7 @@ jobs: python-version: 3.9 - name: Install Poetry - uses: snok/install-poetry@v1.1.6 + uses: snok/install-poetry@v1.3.4 with: virtualenvs-create: false virtualenvs-in-project: true @@ -92,7 +92,7 @@ jobs: python-version: 3.9 - name: Install Poetry - uses: snok/install-poetry@v1.1.6 + uses: snok/install-poetry@v1.3.4 with: virtualenvs-create: false virtualenvs-in-project: true @@ -120,7 +120,7 @@ jobs: python-version: 3.9 - name: Install Poetry - uses: snok/install-poetry@v1.1.6 + uses: snok/install-poetry@v1.3.4 with: virtualenvs-create: false virtualenvs-in-project: true diff --git a/Makefile b/Makefile index 99e5f09..2d23176 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ DEPS ?=awk docker grep poetry realpath sed AWS_OKTA_PROFILE ?= -PY_INSTALL_ARGS ?=--extras="cli" +PY_INSTALL_ARGS ?=--extras="all" --with="docs" VENV_DIR ?=.venv CMD ?=/bin/bash DEBUG ?=false