Skip to content

Workflow file for this run

name: Ruby
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install dependencies
run: bundle install
rubocop:
needs: prepare
runs-on: ubuntu-latest
steps:

Check failure on line 24 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 24
with:
name: prepare
- name: Run cops
run: bundle exec rubocop
specs:
needs: prepare
runs-on: ubuntu-latest
steps:
with:
name: prepare
- name: Run specs
run: bundle exec rspec