Cache ClientStub instances per name like real clients #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 2.7.8 | |
| rubygems: latest | |
| - name: Cache gem dependencies | |
| uses: actions/cache@v1 | |
| with: | |
| path: vendor/bundle | |
| key: ${{ runner.os }}-bundler-${{ hashFiles('**/Gemfile.lock') }} | |
| restore-keys: ${{ runner.os }}-bundler- | |
| - name: Install dependencies | |
| run: gem install bundler && bundle install --jobs 4 --retry 3 --path vendor/bundle | |
| - name: Run tests | |
| run: bundle exec rake test |