Skip to content

Enable actions on pull requests for main #1

Enable actions on pull requests for main

Enable actions on pull requests for main #1

Workflow file for this run

name: Run Tests

Check failure on line 1 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
spec:
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version:[
- "3.1"
- "3.2"
- "3.3"
- "head"
gemfile:
- "rails70"
- "rails71"
- "rails72"
- "rails80"
- "rails-master"
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Run Tests
run: bundle exec rake