Skip to content

Update rakefile

Update rakefile #49

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- "3.3.4"
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Prepare test database
run: RACK_ENV=test bundle exec rake db:prepare
- name: Run Tests
run: bundle exec rake test
- name: Run Rubocop
run: bundle exec rake rubocop