Skip to content

Commit

Permalink
Merge 0886070 into bd0d3a8
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jan 1, 2021
2 parents bd0d3a8 + 0886070 commit 94c88ba
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ddplugin

on: push

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby-version: ["2.5", "2.6", "2.7", "3.0"]

steps:
- uses: actions/checkout@v2

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}

- uses: actions/cache@v2
with:
path: vendor/bundle
key: bundler-b-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('Gemfile') }}

- run: |
bundle config set --local path 'vendor/bundle'
bundle install --jobs "$(nproc)"
- name: Test
run: bundle exec rake
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ AllCops:
TargetRubyVersion: 2.5
Exclude:
- scripts/release
- vendor/bundle/**/*

require:
- rubocop-rake
Expand Down

0 comments on commit 94c88ba

Please sign in to comment.