diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index d17f520..fd38fb3 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -4,12 +4,20 @@ jobs: test: name: rake test runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby-version: + - head + - "3.1" + - "3.0" + - "2.7" + - "2.6" steps: - uses: actions/checkout@v2 - - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6' + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true - run: | - gem install bundler --no-document - bundle install bundle exec rake test