Skip to content

Preparing for release, 0.5.3 #25

Preparing for release, 0.5.3

Preparing for release, 0.5.3 #25

Workflow file for this run

name: test
on: [push, pull_request]
permissions:
contents: read
jobs:
lint:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
rubygems: latest
- name: Run RuboCop
run: bundle exec rubocop
test:
env:
GRAPE_ENTITY: 0.8.0
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['3.0', '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
- name: Run tests
run: bundle exec rake spec