Skip to content

Commit

Permalink
Merge pull request #252 from github/ci-update
Browse files Browse the repository at this point in the history
Update Ruby CI testing setup
  • Loading branch information
mislav authored Nov 15, 2022
2 parents 55bb37a + a166a06 commit e13ac61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,18 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ["2.3", "2.4", "2.5", "2.6", "2.7"]
ruby: ["2.7", "3.0", "3.1"]

runs-on: ${{matrix.os}}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}

- uses: actions/cache@v2
with:
path: vendor/bundle
key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('Gemfile') }}
restore-keys: |
bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-
- name: Install dependencies
run: bundle install --path vendor/bundle --jobs 4
bundler-cache: true

- name: Run tests
run: bundle exec rake
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit e13ac61

Please sign in to comment.