Unverified Commit 70aba780 by Cuong Tran Committed by GitHub

Use ruby/setup-ruby since actions/ruby is deprecated (#855)

parent 83ff912b
...@@ -14,29 +14,22 @@ jobs: ...@@ -14,29 +14,22 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
ruby: ['2.4.x', '2.5.x', '2.6.x'] ruby: ['2.4', '2.5', '2.6']
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Setup Ruby - name: Setup Ruby
uses: actions/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: ${{ matrix.ruby }} ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install sqlite - name: Install sqlite
run: | run: |
sudo apt-get install libsqlite3-dev sudo apt-get install libsqlite3-dev
- name: Update System
run: |
gem update --system --no-document
- name: Bundle install for Annotate models
run: |
bundle install --jobs=4 --retry=3
- name: Run Tests - name: Run Tests
run: INTEGRATION_TESTS=1 bundle exec rspec run: INTEGRATION_TESTS=1 bundle exec rspec
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment