diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 322898711..7f5b48b3c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,14 +21,14 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Python and set up Poetry uses: bakdata/ci-templates/actions/python-setup-poetry@v1.5.3 with: - poetry-version: "1.4.1" # REASON: https://github.com/python-poetry/poetry/issues/8180 + poetry-version: "1.7.1" python-version: ${{ matrix.python-version }} - name: Check Poetry lock file consistency @@ -82,7 +82,9 @@ jobs: publish-snapshot-version: name: Publish snapshot to TestPyPI needs: [test] - uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-snapshot.yaml@v1.25.0 + uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-snapshot.yaml@1.40.4 + with: + poetry-version: "1.7.1" secrets: pypi-token: ${{ secrets.TEST_PYPI_TOKEN }} @@ -91,7 +93,7 @@ jobs: if: ${{ github.ref == 'refs/heads/main' }} needs: [test] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Publish docs from main branch uses: ./.github/actions/update-docs @@ -106,7 +108,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} needs: [test] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9d43637d6..fd66ef0cd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -6,9 +6,9 @@ on: jobs: publish: - uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-pypi.yaml@1.25.3 + uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-pypi.yaml@1.40.4 with: publish-to-test: false - poetry-version: "1.5.1" + poetry-version: "1.7.1" secrets: pypi-token: "${{ secrets.PYPI_TOKEN }}" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8c5467a7a..e4b23e3e8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,11 +15,11 @@ on: jobs: create-github-release-push-tag: - uses: bakdata/ci-templates/.github/workflows/python-poetry-release.yaml@1.40.1 + uses: bakdata/ci-templates/.github/workflows/python-poetry-release.yaml@1.40.4 name: Release with: release-type: ${{ inputs.release-type }} - poetry-version: "1.5.1" + poetry-version: "1.7.1" changelog: true changelog-config: "./.github/changelog-config.json" changelog-file: "./docs/docs/user/changelog.md" @@ -33,7 +33,7 @@ jobs: needs: create-github-release-push-tag steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Fetch all tags; Required for doc versioning