Skip to content

Commit cc4af78

Browse files
authored
fix: replace poetry installation with bash for github actions (#903)
1 parent 2f3d434 commit cc4af78

File tree

8 files changed

+34
-26
lines changed

8 files changed

+34
-26
lines changed

.github/workflows/autoscaling_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
java-version: 8
2424

2525
- name: Install poetry
26-
uses: abatilo/actions-poetry@v3
27-
with:
28-
poetry-version: '1.8.2'
26+
shell: bash
27+
run: |
28+
pipx install poetry==1.8.2
29+
poetry config virtualenvs.prefer-active-python true
2930
3031
- name: Install dependencies
3132
run: poetry install

.github/workflows/draft_release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ jobs:
2929
uses: actions/setup-python@v4
3030
with:
3131
python-version: '3.11'
32-
- name: 'Install poetry'
33-
uses: abatilo/actions-poetry@v2
34-
with:
35-
poetry-version: '1.8.2'
32+
- name: Install poetry
33+
shell: bash
34+
run: |
35+
pipx install poetry==1.8.2
36+
poetry config virtualenvs.prefer-active-python true
3637
- name: 'Install dependencies'
3738
run: poetry install
3839
- name: 'Run mypy - static type checking'

.github/workflows/integration_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ jobs:
3232
java-version: 8
3333

3434
- name: Install poetry
35-
uses: abatilo/actions-poetry@v3
36-
with:
37-
poetry-version: '1.8.2'
35+
shell: bash
36+
run: |
37+
pipx install poetry==1.8.2
38+
poetry config virtualenvs.prefer-active-python true
3839
3940
- name: Install dependencies
4041
run: poetry install

.github/workflows/integration_tests_codebuild.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ jobs:
3030
java-version: 8
3131

3232
- name: Install poetry
33-
uses: abatilo/actions-poetry@v3
34-
with:
35-
poetry-version: '1.8.2'
33+
shell: bash
34+
run: |
35+
pipx install poetry==1.8.2
36+
poetry config virtualenvs.prefer-active-python true
3637
3738
- name: Install dependencies
3839
run: poetry install

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Install poetry
34-
uses: abatilo/actions-poetry@v3
35-
with:
36-
poetry-version: ${{ matrix.poetry-version }}
34+
shell: bash
35+
run: |
36+
pipx install poetry==${{matrix.poetry-version}}
37+
poetry config virtualenvs.prefer-active-python true
3738
- name: Install dependencies
3839
run: poetry install
3940
- name: Run mypy - static type checking

.github/workflows/mysql_performance_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
java-version: 8
2626

2727
- name: Install poetry
28-
uses: abatilo/actions-poetry@v2
29-
with:
30-
poetry-version: '1.8.2'
28+
shell: bash
29+
run: |
30+
pipx install poetry==1.8.2
31+
poetry config virtualenvs.prefer-active-python true
3132
3233
- name: Install dependencies
3334
run: poetry install

.github/workflows/pg_performance_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
java-version: 8
2424

2525
- name: Install poetry
26-
uses: abatilo/actions-poetry@v3
27-
with:
28-
poetry-version: '1.8.2'
26+
shell: bash
27+
run: |
28+
pipx install poetry==1.8.2
29+
poetry config virtualenvs.prefer-active-python true
2930
3031
- name: Install dependencies
3132
run: poetry install

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
uses: actions/setup-python@v4
2222
with:
2323
python-version: '3.11'
24-
- name: 'Install poetry'
25-
uses: abatilo/actions-poetry@v2
26-
with:
27-
poetry-version: '1.4.2'
24+
- name: Install poetry
25+
shell: bash
26+
run: |
27+
pipx install poetry==1.8.2
28+
poetry config virtualenvs.prefer-active-python true
2829
- name: 'Install dependencies'
2930
run: poetry install
3031
- name: 'Create a Package'

0 commit comments

Comments
 (0)