mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
CI: use ruby/setup-ruby + bundler-cache
This commit is contained in:
parent
b421336867
commit
fcc68965b3
1 changed files with 2 additions and 12 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -9,20 +9,10 @@ jobs:
|
|||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v2
|
||||
- name: Do some action caching
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: vendor/bundle
|
||||
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gem-
|
||||
- name: Set up Ruby
|
||||
uses: actions/setup-ruby@v1
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
- name: Install bundler
|
||||
run: gem install bundler
|
||||
- name: Run bundler
|
||||
run: bundle install --jobs 4 --retry 3
|
||||
bundler-cache: true # Run "bundle install", and cache the result automatically.
|
||||
- name: Run Rake
|
||||
run: bundle exec rake
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue