Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,22 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.4.x', '2.5.x', '2.6.x']
ruby: ['2.4', '2.5', '2.6']

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Install sqlite
run: |
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
run: INTEGRATION_TESTS=1 bundle exec rspec

Expand Down