Skip to content

Commit

Permalink
Merge pull request #14 from eitoball/use-github-action
Browse files Browse the repository at this point in the history
Migrate to GitHub Actions
  • Loading branch information
eitoball authored Aug 17, 2021
2 parents f52ec56 + d622c44 commit 40f2b34
Show file tree
Hide file tree
Showing 18 changed files with 51 additions and 50 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build Workflow
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ['2.2', '2.3', '2.4', '2.5', 'head', 'jruby-9.1.17.0']
gemfile: ['0.40.0', '0.41.2', '0.43.0', '0.44.1', '0.45.0', '0.46.0', '0.47.1', '0.48.1', '0.49.1', '0.50.0', '0.51.0', '0.52.1', '0.53.0', '0.54.0']
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.ruby == 'head' }}
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rubocop_${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec spec
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in rubocop_checkstyle.gemspec
gemspec
gem 'rake' if RUBY_PLATFORM == 'java'
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.40.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.41.2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.42.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.43.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.44.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.45.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.46.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.47.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.48.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
unicode-display_width (1.2.1)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.49.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ GEM
unicode-display_width (1.3.0)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -56,4 +57,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.50.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ GEM
unicode-display_width (1.3.0)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -56,4 +57,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.51.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ GEM
unicode-display_width (1.3.0)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -56,4 +57,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.52.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ GEM
unicode-display_width (1.3.0)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -55,4 +56,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.53.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ GEM
unicode-display_width (1.3.0)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -55,4 +56,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3
3 changes: 2 additions & 1 deletion gemfiles/rubocop_0.54.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ GEM
unicode-display_width (1.3.0)

PLATFORMS
java
ruby

DEPENDENCIES
Expand All @@ -55,4 +56,4 @@ DEPENDENCIES
rubocop-checkstyle_formatter!

BUNDLED WITH
1.16.1
1.17.3

0 comments on commit 40f2b34

Please sign in to comment.