Skip to content

Setup separate rustworkx-core publish job with trusted publishers (backport #1630)#1632

Merged
IvanIsCoding merged 1 commit into
stable/0.18from
mergify/bp/stable/0.18/pr-1630
Jul 9, 2026
Merged

Setup separate rustworkx-core publish job with trusted publishers (backport #1630)#1632
IvanIsCoding merged 1 commit into
stable/0.18from
mergify/bp/stable/0.18/pr-1630

Conversation

@mergify

@mergify mergify Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This commit splits out the release publish job for the rustworkx-core crate to crates.io from the wheels file into a separate job workflow file. This then lets us setup the cargo publish job to use the trusted publishers mechanism instead of a secret token for authentication which is more secure. The docs for using trusted publisher are located here:

https://crates.io/docs/trusted-publishing

the new cargo_publish workflow's job is updated to more closely follow the example in the docs. I've already updated the crate's configuration on crates.io to use cargo_publish.yml for the trusted publisher mechanism.


This is an automatic backport of pull request #1630 done by [Mergify](https://mergify.com).

)

This commit splits out the release publish job for the rustworkx-core
crate to crates.io from the wheels file into a separate job workflow
file. This then lets us setup the cargo publish job to use the trusted
publishers mechanism instead of a secret token for authentication which
is more secure. The docs for using trusted publisher are located here:

https://crates.io/docs/trusted-publishing

the new cargo_publish workflow's job is updated to more closely follow
the example in the docs. I've already updated the crate's configuration
on crates.io to use cargo_publish.yml for the trusted publisher
mechanism.

(cherry picked from commit 70a4530)
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 29053718631

Coverage increased (+0.005%) to 94.711%

Details

  • Coverage increased (+0.005%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 2 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

2 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
rustworkx-core/src/generators/random_graph.rs 2 87.31%

Coverage Stats

Coverage Status
Relevant Lines: 20287
Covered Lines: 19214
Line Coverage: 94.71%
Coverage Strength: 914982.25 hits per line

💛 - Coveralls

@IvanIsCoding IvanIsCoding merged commit 11f7f75 into stable/0.18 Jul 9, 2026
40 checks passed
@IvanIsCoding IvanIsCoding deleted the mergify/bp/stable/0.18/pr-1630 branch July 9, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants