# check https://www.githubstatus.com/ if any issues name: Ruby on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest name: Ruby ${{ matrix.ruby }} strategy: matrix: ruby: ['2.7.1'] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 2.7.1 bundler-cache: true - name: Run tests run: bundle exec rspec - name: Run rubocop run: bundle exec rubocop