From 0eac9c3fd0a40bf4b159e3719b747279429e2ae6 Mon Sep 17 00:00:00 2001 From: Catherine Date: Tue, 13 Feb 2024 12:03:10 +0000 Subject: [PATCH] CI: verify package metadata on all builds. --- .github/workflows/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fbf91a1..efb26ef 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -168,6 +168,10 @@ jobs: with: name: code path: dist/ + - name: Verify package metadata + run: | + pip install twine + twine check dist/* - name: Publish package to Test PyPI if: ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && github.event.ref == 'refs/heads/main' }} uses: pypa/gh-action-pypi-publish@release/v1