Skip to content

Match or exceed v1 performance #938

Match or exceed v1 performance

Match or exceed v1 performance #938

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main, release-2.0]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ["3.1", "3.2", "3.3", "4.0"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Installing dependencies
run: |
bundle config set path vendor/bundle
bundle check || bundle install
- name: Run tests
run: bundle exec rake
- name: Benchmarks
run: bundle exec rake benchmarks