Skip to content

Commit 6b3b797

Browse files
committed
update gitaction to match the latest instruction from github.com/ruby/setup-ruby
1 parent e5be70b commit 6b3b797

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
matrix:
1212
ruby-version: ['2.7', '3.1.0','head'] # test only recommend Ruby version (and stable version on the gitaction server)
1313
steps:
14-
- uses: actions/checkout@v3
15-
- name: Set up Ruby ${{ matrix.ruby-version }}
16-
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
14+
- uses: actions/checkout@v4
15+
- uses: ruby/setup-ruby@v1
1716
with:
18-
ruby-version: ${{ matrix.ruby-version }}
19-
- name: Install dependencies
17+
ruby-version: ${{ matrix.ruby }}
18+
bundler-cache: true
19+
- name: install dependencies
2020
run: bundle install
2121
- name: lint
2222
run: bundle exec rake lint
2323
- name: tests
2424
env:
2525
SERPAPI_KEY: ${{ secrets.SERPAPI_KEY }}
2626
run: bundle exec rake test
27-
- name: oobt
27+
- name: out of box testing
2828
env:
2929
SERPAPI_KEY: ${{ secrets.SERPAPI_KEY }}
3030
run: bundle exec rake oobt

0 commit comments

Comments
 (0)