From 721b6f9d444dd86c1a33ef98df8e2a4a3c035618 Mon Sep 17 00:00:00 2001 From: Derek Visch Date: Wed, 28 Sep 2022 23:05:30 -0400 Subject: [PATCH] fix(templates): Remove Poetry version pin for GitHub Actions (#826) Co-authored-by: Edgar R. M Co-authored-by: Edgar R. M --- ..._template == 'GitHub' %}ci_workflow.yml{%endif%} | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.github/workflows/{% if cookiecutter.include_cicd_sample_template == 'GitHub' %}ci_workflow.yml{%endif%} b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.github/workflows/{% if cookiecutter.include_cicd_sample_template == 'GitHub' %}ci_workflow.yml{%endif%} index 9cc605a5c..e9cf74c1b 100644 --- a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.github/workflows/{% if cookiecutter.include_cicd_sample_template == 'GitHub' %}ci_workflow.yml{%endif%} +++ b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.github/workflows/{% if cookiecutter.include_cicd_sample_template == 'GitHub' %}ci_workflow.yml{%endif%} @@ -21,12 +21,9 @@ jobs: with: python-version: {{ '${{ matrix.python-version }}' }} - name: Install Poetry - uses: snok/install-poetry@v1 - with: - version: 1.1.8 - - name: Install dependencies run: | - poetry install + python -m pip install --upgrade pip + pip install poetry==1.2.* - name: Run lint command from tox.ini run: | poetry run tox -e lint @@ -47,9 +44,9 @@ jobs: with: python-version: {{ '${{ matrix.python-version }}' }} - name: Install Poetry - uses: snok/install-poetry@v1 - with: - version: 1.1.11 + run: | + python -m pip install --upgrade pip + pip install poetry==1.2.* - name: Install dependencies run: | poetry install