- - name: Cache gems
- uses: actions/cache@v2
- with:
- path: vendor/bundle
- key: bundle-${{ env.os }}-${{ env.ruby }}-${{ hashFiles('Gemfile.lock') }}
- restore-keys: |
- bundle-${{ env.os }}-${{ env.ruby }}-
- - name: Install gems
- run: |
- gem install bundler
- bundle config set deployment true
- bundle install --jobs 4 --retry 3