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

ci: Add GitHub artifact attestations to package distribution #245

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

matthewfeickert
Copy link
Member

* Add generation of GitHub artifact attestations to built sdist and wheel
  before upload.
  c.f.:
   - https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/
   - https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds
* Add verification of artifact attestation before publishing to PyPI
  using the 'gh attestation verify' CLI API, added in v2.49.0.
   - c.f. https://github.com/cli/cli/releases/tag/v2.49.0
@matthewfeickert matthewfeickert self-assigned this Aug 24, 2024
Copy link

codecov bot commented Aug 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.17%. Comparing base (9b39149) to head (8cf6b43).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #245   +/-   ##
=======================================
  Coverage   91.17%   91.17%           
=======================================
  Files           2        2           
  Lines         306      306           
  Branches       83       83           
=======================================
  Hits          279      279           
  Misses         17       17           
  Partials       10       10           
Flag Coverage Δ
unittests-3.10 90.84% <ø> (ø)
unittests-3.11 90.84% <ø> (ø)
unittests-3.12 90.84% <ø> (ø)
unittests-3.8 90.84% <ø> (ø)
unittests-3.9 90.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewfeickert matthewfeickert merged commit 3c52773 into main Aug 24, 2024
13 checks passed
@matthewfeickert matthewfeickert deleted the ci/add-attestations branch August 24, 2024 06:31
@eduardo-rodrigues eduardo-rodrigues added the CI Continuous Integration label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants