Skip to content

Commit 8ce5182

Browse files
authored
ci: let bundler-cache: true to install gems (#40)
* ci: let bundler-cache: true to install gems Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com> * ci: add Ruby 3.1 or later Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com> * ci: add Ruby 4.0 Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com> --------- Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent bcfaf7e commit 8ce5182

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/linux.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ]
11+
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '4.0' ]
1212
postgres: [ '9', '10', '11', '12', '13' ]
1313
os:
1414
- ubuntu-latest
@@ -32,6 +32,7 @@ jobs:
3232
- uses: ruby/setup-ruby@v1
3333
with:
3434
ruby-version: ${{ matrix.ruby }}
35+
bundler-cache: true
3536
- name: prepare database
3637
env:
3738
PGPASSWORD: password
@@ -42,6 +43,4 @@ jobs:
4243
env:
4344
CI: true
4445
run: |
45-
gem install bundler rake
46-
bundle install --jobs 4 --retry 3
4746
bundle exec rake test

0 commit comments

Comments
 (0)