Skip to content

Merge pull request #69 from storey/grant/feature/numeric-min-max-support #42

Merge pull request #69 from storey/grant/feature/numeric-min-max-support

Merge pull request #69 from storey/grant/feature/numeric-min-max-support #42

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@v4
- 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: 1.0.0
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v4
- 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