Skip to content

Refactor rake tasks related to code generation from OpenAPI schema #142

Refactor rake tasks related to code generation from OpenAPI schema

Refactor rake tasks related to code generation from OpenAPI schema #142

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 2.7
- 3.2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Rubocop
run: bundle exec rubocop
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 2.7
- 3.2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run specs
run: bundle exec rspec