# see also https://github.com/whitequark/parser/blob/master/.github/workflows/test.yml name: Rake on: [push] jobs: test: strategy: fail-fast: false matrix: os: [ubuntu-latest] ruby: ["2.7", "3.0", "3.1", head] test_command: ["bundle exec rake test"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Bundle install run: | bundle config path /home/runner/bundle bundle install bundle update - run: ${{ matrix.test_command }}