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

Update CI and CD #41

Merged
merged 3 commits into from
Oct 15, 2022
Merged

Update CI and CD #41

merged 3 commits into from
Oct 15, 2022

Conversation

alexevanczuk
Copy link
Contributor

This updates CI and CD based on explorations in use_packwerk. Here are the several changes:

  1. The biggest change here is that the publish step is now CD – that is, publishing happens automatically. Once a commit lands on master, it is tagged with the version of the gem ( no action is taken if a tag already exists), that tag is pushed to git, and then the gem is built and pushed to rubygems. Then a release is automatically created with autogenerated r elease notes.
  2. I bump the version of a handful of thse actions, which gets rid of some deprecation warnings and adds some new features
  3. I switch to using the bundle cache for setup-ruby, which speeds things up and also drops some boiler plate from other actions in CI
  4. I update the naming on some of the steps so it's more readable and also consistent across rubyatscale repos.
  5. I change CI to happen on push, which is seemingly a superset of pull_request, so now we need to run half as many actions, cutting our usage down and also removing unnecessary noise.

I think that's all!

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.

1 participant