Skip to content

Commit

Permalink
chore (ci): Fix Poetry setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
timoguin committed Mar 2, 2024
1 parent 2f06669 commit ef0d74c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ef0d74c

Please sign in to comment.