Skip to content

conditionally enable crypto during install based on PG version #223

conditionally enable crypto during install based on PG version

conditionally enable crypto during install based on PG version #223

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.0"
- "3.1"
- "3.2"
- "3.3"
rails:
- "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
RAILS_VERSION: ${{ matrix.rails }}
POSTGRES_USER: postgres
PGPASSWORD: password
POSTGRES_PASSWORD: password
run: |
bundle exec rake