-
Notifications
You must be signed in to change notification settings - Fork 0
add ci testing and update publishing instructions #6
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
Conversation
5f8f140
to
ed41b5b
Compare
ed41b5b
to
4d3f45d
Compare
6eda3eb
to
8744103
Compare
8744103
to
92036e2
Compare
.github/workflows/ci.yml
Outdated
- name: Run bundle install | ||
run: | | ||
bundle install | ||
- uses: actions/checkout@v2 |
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.
Why is this downgraded from actions/checkout@v3 to actions/checkout@v2?
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.
copy paste -- updated to latest (v4)
.github/workflows/ci.yml
Outdated
- run: | | ||
bundle exec rake spec | ||
env: | ||
RAILS_ENV: test |
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.
is this needed if there is no rails?
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.
good catch -- copy paste, removed.
task publish: :build do | ||
# Requires local setup of personal access token, see: | ||
# 1. https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry#authenticating-with-a-personal-access-token | ||
system("gem push --key github --host https://rubygems.pkg.github.com/art19 " \ |
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.
stupid nitty: I like multiline quote styles over this
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [2.4, 2.7, '3.0', 3.1, 3.2, truffleruby-head] | ||
|
||
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"] |
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.
nit: remove 2.7 now?
No description provided.