Skip to content

Commit e0af88d

Browse files
authored
CI: rely on setup-ruby to install (#264)
...and use a newer actions/checkout (to avoid any GitHub Actions warning about old stuff used)
1 parent 5e70e91 commit e0af88d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,13 @@ jobs:
3636
notify_when: "failure"
3737
env:
3838
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
39-
- uses: actions/checkout@v1
39+
- uses: actions/checkout@v4
4040
- name: Install package dependencies
4141
run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
4242
- name: Set up Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
4545
ruby-version: ${{matrix.ruby}}
46-
- name: Install latest bundler
47-
run: |
48-
gem install bundler --no-document
49-
- name: Bundle install
50-
run: bundle install --jobs 4 --retry 3
46+
bundler-cache: true # 'bundle install' and cache gems
5147
- name: Run all tests
5248
run: script/ci

0 commit comments

Comments
 (0)