1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00
httparty/.github/workflows/ci.yml
2021-01-08 14:41:47 -05:00

28 lines
777 B
YAML

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7']
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
with:
ruby-version: ${{ matrix.ruby }}
- name: Install bundler
run: gem install bundler
- name: Run bundler
run: bundle install --jobs 4 --retry 3
- name: Run Rake
run: bundle exec rake