Skip to content

Merge pull request #70 from hotoolong/fix_link_in_changelog #51

Merge pull request #70 from hotoolong/fix_link_in_changelog

Merge pull request #70 from hotoolong/fix_link_in_changelog #51

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