Skip to content

Commit

Permalink
Use GitHub actions to run CI (#2281)
Browse files Browse the repository at this point in the history
* initial gh action ci.yml

* lock rack < 3

* clean up old spec, remove macos-latest for now

---------

Co-authored-by: Arthur Chiu <[email protected]>
  • Loading branch information
achiurizo and achiurizo authored Jan 24, 2024
1 parent ad746dd commit 65044af
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 43 deletions.
42 changes: 0 additions & 42 deletions .circleci/config.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on: [push]

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', 'jruby']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ group :development do
gem "minitest", ">= 4.0"
gem "mocha", ">= 2.0"
gem "oga", ">= 2.5", "< 3"
gem "rack", ">= 1.3.0"
gem "rack", ">= 1.3.0", "< 3"
gem "rack-test", ">= 0.6.3"
gem "rake", ">= 10.5.0"
gem 'rb-readline', '~> 0.4.2'
Expand Down

0 comments on commit 65044af

Please sign in to comment.