name: spec on: push jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: [ '2.7', '3.0', '3.1' ] name: Ruby ${{ matrix.ruby }} sample steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle exec rake