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 dependabot and ci workflow configuration #5

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Conversation

joshka
Copy link
Collaborator

@joshka joshka commented Apr 3, 2024

Sets up a standard set of CI workflows to automatically build, test, and
pubish the crate (using release-plz). Also adds a dependabot
configuration to automatically update dependencies.

This is mostly a copy of the workflows I use in my own projects, without
the msrv check, as I don't think that's necessary for this crate.

See https://github.com/joshka/github-workflows/ for more information.

With the release-plz workflow, anytime you push to main, it will create
a PR with the new version number and changelog. You can then merge this
PR to publish the new version to crates.io. See
joshka/tui-scrollview#25 for an example of what
this looks like.


This requires a couple of settings to be added to work:

Allow release-plz to create and update PRs etc:

Secrets for code coverage and publishing to crates.io:
https://github.com/shuoli84/tui-menusettings/secrets/actions (add two repository secrets):

Sets up a standard set of CI workflows to automatically build, test, and
pubish the crate (using release-plz). Also adds a dependabot
configuration to automatically update dependencies.

This is mostly a copy of the workflows I use in my own projects, without
the msrv check, as I don't think that's necessary for this crate.

See https://github.com/joshka/github-workflows/ for more information.

With the release-plz workflow, anytime you push to main, it will create
a PR with the new version number and changelog. You can then merge this
PR to publish the new version to crates.io. See
joshka/tui-scrollview#25 for an example of what
this looks like.
@shuoli84
Copy link
Owner

shuoli84 commented Apr 4, 2024

I just added two secrets.

@joshka joshka requested a review from shuoli84 April 4, 2024 13:00
@joshka
Copy link
Collaborator Author

joshka commented Apr 4, 2024

I'd suggest merging this and then seeing how it affects the merge of #3

@shuoli84 shuoli84 merged commit b66dfa1 into main Apr 4, 2024
10 of 11 checks passed
@joshka joshka deleted the jm/ci branch April 7, 2024 08:05
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.

2 participants