Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update poetry publish workflow version to latest #430

Merged
merged 34 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down Expand Up @@ -82,7 +82,9 @@ jobs:
publish-snapshot-version:
name: Publish snapshot to TestPyPI
needs: [test]
uses: bakdata/ci-templates/.github/workflows/[email protected]
uses: bakdata/ci-templates/.github/workflows/[email protected]
with:
poetry-version: "1.7.1"
secrets:
pypi-token: ${{ secrets.TEST_PYPI_TOKEN }}

Expand All @@ -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
Expand All @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
disrupted marked this conversation as resolved.
Show resolved Hide resolved
poetry-version: "1.7.1"
secrets:
pypi-token: "${{ secrets.PYPI_TOKEN }}"
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ on:

jobs:
create-github-release-push-tag:
uses: bakdata/ci-templates/.github/workflows/[email protected].1
uses: bakdata/ci-templates/.github/workflows/[email protected].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"
Expand All @@ -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

Expand Down
Loading