.github/workflows/ruby.yml in did_you_mean-1.6.3 vs .github/workflows/ruby.yml in did_you_mean-2.0.0

- old
+ new

@@ -7,31 +7,38 @@ push: branches: - 'master' jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby-jruby + min_version: 2.5 + build: + needs: ruby-versions runs-on: ubuntu-latest strategy: matrix: - ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', 'ruby-head', 'jruby-9.2', 'jruby-9.3', 'jruby-head' ] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Build and test with Rake run: | - gem i test-unit + gem i test-unit test-unit-ruby-core RUBYOPT='--disable-did_you_mean' rake benchmark: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1.3 + ruby-version: 3.3.6 - name: Test performance and accuracy run: | gem install bundler bundle install --jobs 4 --retry 2 RUBYOPT='--disable-did_you_mean' bundle exec rake test:accuracy