Skip to content

bump 1.1.0

bump 1.1.0 #17

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
rspec:
runs-on: ubuntu-latest
env:
POSTGRES_DB: test_db
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
services:
postgres:
env:
POSTGRES_DB: test_db
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
image: postgres:14
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
ruby:
- 3.1
- 3.2
- 3.3
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec