Skip to content

Commit 454ef2f

Browse files
committed
Add a Gemfile
`ruby/setup-ruby` can read this [0] and run `bundle install`, so we don’t need a separate `gem install minitest`. Of course it’s also useful for any human who checks out the repo and wants to install its dependencies. [0] https://github.com/ruby/setup-ruby/tree/v1.75.0#caching-bundle-install-automatically
1 parent f5c4c76 commit 454ef2f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
uses: ruby/setup-ruby@v1
1010
with:
1111
ruby-version: 2.7
12-
- name: Install dependencies
13-
run: gem install minitest
12+
bundler-cache: true
1413
- name: Run tests
1514
run: rake test

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org/'
2+
3+
gem 'minitest'
4+
gem 'rake'

0 commit comments

Comments
 (0)