Skip to content

Commit

Permalink
Merge pull request #111 from tmm1/ci-update
Browse files Browse the repository at this point in the history
Refresh CI setup
  • Loading branch information
mislav authored May 24, 2022
2 parents 6830665 + cd09eab commit 4669cd3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,25 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby_version: ['2.4.x', '2.5.x', '2.6.x']
ruby_version:
- "1.9.3"
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"

steps:
- uses: actions/checkout@v1
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Run tests
run: |
bundle --version 2>/dev/null || gem install --no-document bundler
bundle install --jobs 4 --retry 3
bundle exec rake
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ TAGS
ripper-tags-*gem
*.swp
Gemfile.lock
.ruby-version
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

0 comments on commit 4669cd3

Please sign in to comment.