From 11ef20f32a2ff48207037503dbe1d4f2eba8f8de Mon Sep 17 00:00:00 2001 From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:09:54 +0100 Subject: [PATCH] Restore `twine` check (#186) --- .github/workflows/ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d27b669..b010ff8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -331,9 +331,7 @@ jobs: - run: | pip install -U twine - # FIXME: restore `twine` check when metadata version 2.4 (used by `maturin`) supported by `twine`, - # see https://github.com/pypa/twine/pull/1180 - # twine check --strict crates/jiter-python/dist/* + twine check --strict crates/jiter-python/dist/* - uses: actions/upload-artifact@v4 with: @@ -626,11 +624,10 @@ jobs: merge-multiple: true path: dist - - run: pip install -U twine - - run: ls -l dist/ - # FIXME: restore `twine` check when metadata version 2.4 (used by `maturin`) supported by `twine` - # see https://github.com/pypa/twine/pull/1180 - # - run: twine check --strict dist/* + - run: | + pip install -U twine + ls -l dist/ + twine check --strict dist/* - name: upload to pypi uses: pypa/gh-action-pypi-publish@release/v1