Skip to content

Commit

Permalink
Merge pull request #18 from infiton/migrate-ci-to-github
Browse files Browse the repository at this point in the history
Migrate ci to GitHub
  • Loading branch information
infiton authored Jul 4, 2022
2 parents 5ce0a7e + 6329703 commit 12d97c8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 16 deletions.
15 changes: 0 additions & 15 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: ['2.4', '2.5']

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: rubocop
run: bundle exec rubocop
- name: tests
run: bundle exec rake test
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[![Circle CI](https://circleci.com/gh/infiton/capitalize-names.svg?style=shield)](https://circleci.com/gh/infiton/capitalize-names)
# capitalize-names
Simple proper name capitalization that handles edge cases. Originally based off of http://dzone.com/snippets/capitalize-proper-names

Expand Down

0 comments on commit 12d97c8

Please sign in to comment.