Skip to content

Commit

Permalink
remove reusable python-and-poetry-setup because it doesn't work as a …
Browse files Browse the repository at this point in the history
…workflow _step_
  • Loading branch information
danielfromearth committed Oct 10, 2023
1 parent e26add1 commit 537febc
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 26 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/reusable_python_and_poetry_setup.yaml

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.3.2

- name: Get version
id: get-version
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/release-created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ jobs:
uses: actions/checkout@v4
with:
ref: 'refs/heads/develop'
- uses: ./.github/workflows/reusable_python_and_poetry_setup.yaml

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.3.2

- name: Bump minor version
run: |
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/reusable_python_and_poetry_setup.yml

This file was deleted.

11 changes: 10 additions & 1 deletion .github/workflows/reusable_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/reusable_python_and_poetry_setup.yaml

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.3.2

- name: Install package
run: poetry install
Expand Down

0 comments on commit 537febc

Please sign in to comment.