diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ebb99f1f..8afbdd51 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -33,5 +33,12 @@ jobs: - name: Build package run: python -m build + - name: Generate SBOM + uses: bact/pitloom@b6414eb80037ccae70eadf94ad13e3bc1063b114 # v0.15.0 + with: + embed-wheel: "dist/*.whl" + extras: "content-type" + content-type: "true" + - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1 diff --git a/pyproject.toml b/pyproject.toml index ca21367b..a71f869d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,11 @@ warn_redundant_casts = true # warn_unreachable = true # warn_unused_ignores = true +[[tool.pitloom.creator]] +name = "Joshua Watt" +email = "JPEWhacker@gmail.com" +type = "person" + [tool.pytest.ini_options] addopts = [ "--import-mode=importlib",