Skip to content

replace tableoid where clause with FROM ONLY #176

replace tableoid where clause with FROM ONLY

replace tableoid where clause with FROM ONLY #176

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
services:
postgres:
image: postgres:16
env:
POSTGRES_DB: hoardable
POSTGRES_PASSWORD: password
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
strategy:
matrix:
ruby:
- 3.2
- 2.7
rails:
- 6.1
- 7.0
# - 7.1
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
env:
RAILS_VERSION: ${{ matrix.rails }}
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
env:
RAILS_ENV: test
POSTGRES_USER: postgres
PGPASSWORD: password
POSTGRES_PASSWORD: password
run: |
bundle exec rake