Skip to content

Change the type of user_id and record_id to string so UUID keys work!… #4

Change the type of user_id and record_id to string so UUID keys work!…

Change the type of user_id and record_id to string so UUID keys work!… #4

Workflow file for this run

name: build
on: push
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.0.0
gemfile: Gemfile
postgres: 10
- ruby: 2.7
gemfile: gemfiles/Gemfile-6-0
postgres: 10
- ruby: 2.6
gemfile: gemfiles/Gemfile-5-2
postgres: 10
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
USE_OFFICIAL_GEM_SOURCE: 1
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
- run: bundle exec rails db:create db:migrate
- run: bundle exec rails test