diff --git a/.github/workflows/build-pipeline.yml b/.github/workflows/build-pipeline.yml index b73b631..4346cb5 100644 --- a/.github/workflows/build-pipeline.yml +++ b/.github/workflows/build-pipeline.yml @@ -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/actions-poetry@v2.3.0 + with: + poetry-version: 1.3.2 - name: Get version id: get-version diff --git a/.github/workflows/release-created.yml b/.github/workflows/release-created.yml index e08b717..c9c4597 100644 --- a/.github/workflows/release-created.yml +++ b/.github/workflows/release-created.yml @@ -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/actions-poetry@v2.3.0 + with: + poetry-version: 1.3.2 - name: Bump minor version run: | diff --git a/.github/workflows/reusable_python_and_poetry_setup.yml b/.github/workflows/reusable_python_and_poetry_setup.yml deleted file mode 100644 index 1635678..0000000 --- a/.github/workflows/reusable_python_and_poetry_setup.yml +++ /dev/null @@ -1,23 +0,0 @@ -# This workflow will install Python and Poetry. -name: A reusable workflow to build the repo - -on: - workflow_call: - -jobs: - build_and_test: - runs-on: ubuntu-latest - - steps: - - name: Retrieve repository - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - - name: Set up Poetry - uses: abatilo/actions-poetry@v2.3.0 - with: - poetry-version: 1.3.2 diff --git a/.github/workflows/reusable_run_tests.yml b/.github/workflows/reusable_run_tests.yml index 1c23a0b..fa3d155 100644 --- a/.github/workflows/reusable_run_tests.yml +++ b/.github/workflows/reusable_run_tests.yml @@ -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/actions-poetry@v2.3.0 + with: + poetry-version: 1.3.2 - name: Install package run: poetry install