- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Introduce Github Action for release phase #52
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
Introduce Github Action for release phase #52
Conversation
b4b8992    to
    5f2215e      
    Compare
  
    a823cc9    to
    3b57a9e      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, no blockers. 👍
| - uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: "3.1" | ||
| bundler-cache: true | ||
|  | ||
| - run: bundle install | ||
| - run: bundle exec rspec | ||
| - run: bundle exec rubocop | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny nitpick and not a blocker at all, but you could probably run rspec and rubocop in parallel to this job and make the rake release[remote] job block and wait for them to complete? It's fine to do that as a follow-up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will test it separately, currently it takes 30 seconds to run whole job, will check if spinning separate jobs and waiting for those will not extend it in time.
3b57a9e    to
    54d33c0      
    Compare
  
    Github Action will be trigger when user create Github release. It will run all checks on gem like tests and linter. At the end it will publish gem to Rubygems repository. It also includes updated README file with detail instructions.
54d33c0    to
    760552f      
    Compare
  
    
Github Action will be trigger when user create Github release. It will run all checks on gem like tests and linter.
At the end it will publish gem to Rubygems repository.
It also includes updated README file with detail instruction.
Steps: