Skip to content

Commit 57f3092

Browse files
committed
Revert "Use ruby/setup-ruby since actions/ruby is deprecated (ctran#855)"
This reverts commit 70aba78.
1 parent b5a930b commit 57f3092

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,29 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ['2.4', '2.5', '2.6']
17+
ruby: ['2.4.x', '2.5.x', '2.6.x']
1818

1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v1
2222

2323
- name: Setup Ruby
24-
uses: ruby/setup-ruby@v1
24+
uses: actions/setup-ruby@v1
2525
with:
2626
ruby-version: ${{ matrix.ruby }}
27-
bundler-cache: true
2827

2928
- name: Install sqlite
3029
run: |
3130
sudo apt-get install libsqlite3-dev
3231
32+
- name: Update System
33+
run: |
34+
gem update --system --no-document
35+
36+
- name: Bundle install for Annotate models
37+
run: |
38+
bundle install --jobs=4 --retry=3
39+
3340
- name: Run Tests
3441
run: INTEGRATION_TESTS=1 bundle exec rspec
3542

0 commit comments

Comments
 (0)