Skip to content

fixing action

fixing action #5

Workflow file for this run

# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
push:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: '3.0'

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

View workflow run for this annotation

GitHub Actions / Ruby

Invalid workflow file

The workflow is not valid. .github/workflows/ruby.yml (Line: 18, Col: 23): Unexpected value '3.0'
steps:
- uses: actions/checkout@v4
- 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 rspec
- name: Run RuboCop
run: bundle exec rubocop