Skip to content

ci: Update workflow #23

ci: Update workflow

ci: Update workflow #23

Workflow file for this run

name: Ruby
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
lib:
- docrb
- docrb-html
- docrb-parser
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lib/${{ matrix.lib }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run Rubocop
run: bundle exec rubocop
- name: Run rspec
run: bundle exec rspec