Skip to content

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

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

tatthurs
Copy link

@tatthurs tatthurs commented Jul 1, 2024

No description provided.

@tatthurs tatthurs force-pushed the tatthurs/publishing-updates branch 5 times, most recently from 5f8f140 to ed41b5b Compare July 1, 2024 23:48
@tatthurs tatthurs changed the title update publishing instructions add ci testing and update publishing instructions Jul 1, 2024
@tatthurs tatthurs force-pushed the tatthurs/publishing-updates branch from ed41b5b to 4d3f45d Compare July 1, 2024 23:54
@tatthurs tatthurs force-pushed the tatthurs/publishing-updates branch from 6eda3eb to 8744103 Compare July 2, 2024 00:04
@tatthurs tatthurs force-pushed the tatthurs/publishing-updates branch from 8744103 to 92036e2 Compare July 2, 2024 18:57
- name: Run bundle install
run: |
bundle install
- uses: actions/checkout@v2
Copy link

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?

Copy link
Author

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)

- run: |
bundle exec rake spec
env:
RAILS_ENV: test
Copy link

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?

Copy link
Author

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 " \
Copy link

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

@tatthurs tatthurs merged commit 0b3dff8 into master Jul 16, 2024
5 checks passed
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"]
Copy link

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?

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