Skip to content

Run Rubocop through GitHub CI #1

Run Rubocop through GitHub CI

Run Rubocop through GitHub CI #1

Workflow file for this run

name: Ruby
on:
push:
branches:
- *

Check failure on line 6 in .github/workflows/ruby.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ruby.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
pull_request:
branches:
- *
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.1', '3.2']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake