name: Tests on: push: branches: [main] pull_request: branches: [main] workflow_run: workflows: ["Update"] types: - completed jobs: test: strategy: matrix: os: [ubuntu-latest] ruby-version: - '3.0' - '3.1' - '3.2' - '3.3' runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} run: bundle config unset deployment && bundle exec rake