Skip to content

Merge pull request #84 from harled/dependency-update #142

Merge pull request #84 from harled/dependency-update

Merge pull request #84 from harled/dependency-update #142

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.1.1'
- '3.2.1'
- '3.2.2'
env:
RAILS_ENV: test
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Lint
run: bundle exec rake standard
- name: Create DB
run: bundle exec rails db:test:prepare
- name: Run tests
run: bundle exec rake spec