Skip to content

Commit

Permalink
GA
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Feb 5, 2021
1 parent d63249c commit 73202d6
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 25 deletions.
4 changes: 4 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Why and what is being done.

## Pre-Merge Checklist
- [ ] CHANGELOG.md updated with short summary
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
pull_request:
push:
branches:
- master

jobs:
test:
name: Test ruby version matrix
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.4', '2.5', '2.6', '2.7', 'truffleruby-head']
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: bundle exec rake test

rubocop:
name: Run rubocop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.4'
bundler-cache: true
- run: bundle exec rake rubocop
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.3
TargetRubyVersion: 2.4
Include:
- 'lib/**/*'
- 'Rakefile'
Expand Down
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion recaptcha.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.homepage = "http://github.com/ambethia/recaptcha"
s.summary = s.description = "Helpers for the reCAPTCHA API"
s.license = "MIT"
s.required_ruby_version = '>= 2.3.0'
s.required_ruby_version = '>= 2.4.0'

s.files = `git ls-files lib rails README.md CHANGELOG.md LICENSE`.split("\n")

Expand Down

0 comments on commit 73202d6

Please sign in to comment.