name: CI on: push: branches: [main, 'feature.*'] pull_request: jobs: unit_tests: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['2.5.3'] steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - run: bundle exec rake test