Skip to content

Commit b74f103

Browse files
ctranocarta-l
authored andcommitted
Use ruby/setup-ruby since actions/ruby is deprecated (ctran#855)
1 parent 1eda2b1 commit b74f103

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/ci.yml

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

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

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

2829
- name: Install sqlite
2930
run: |
3031
sudo apt-get install libsqlite3-dev
3132
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-
4033
- name: Run Tests
4134
run: INTEGRATION_TESTS=1 bundle exec rspec
4235

0 commit comments

Comments
 (0)