diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d50a5578..bf1b7bc2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -151,3 +151,23 @@ jobs: run: cargo install cargo-audit - name: Run cargo audit run: cargo audit + + smoke_test_sdist_build: + name: Smoke test source distribution build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build setuptools-rust + - name: Build sdist + run: python -m build --sdist + - uses: actions/upload-artifact@v3 + with: + path: dist/*.tar.gz + name: sdist