diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4fd27f6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + + matrix: + ruby-version: + - 2.3 + - 2.4 + - 2.5 + - 2.6 + - 2.7 + - "3.0" + - 3.1 + - 3.2 + - 3.3 + + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + - run: bundle exec rspec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a63fb5b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -sudo: false -language: ruby -rvm: - - 2.1.7 -before_install: gem install bundler -v 1.12.1 diff --git a/omniauth-intercom.gemspec b/omniauth-intercom.gemspec index ef34263..e56bdf4 100644 --- a/omniauth-intercom.gemspec +++ b/omniauth-intercom.gemspec @@ -19,7 +19,6 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_runtime_dependency 'omniauth-oauth2', '>= 1.2' - spec.add_development_dependency "bundler", "~> 1.12" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" spec.add_development_dependency "rack", "~> 1.6"