name: Spec CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest name: Ruby ${{ matrix.ruby }} strategy: matrix: ruby: [2.5, 2.6, 2.7] steps: - uses: actions/checkout@v2 - name: Set up Ruby ${{ matrix.ruby }} uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: | gem install bundler bundle install bundle exec appraisal install - name: Run rspec run: bundler exec appraisal rspec