Skip to content

Add ruby 4.0 specs #155

Add ruby 4.0 specs

Add ruby 4.0 specs #155

Workflow file for this run

name: Specs
permissions:
contents: read
on:
- pull_request
jobs:
specs:
name: specs
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ ubuntu ]
ruby: [ "3.3", "3.4", "4.0" ]
services:
postgres:
image: postgres:9.6
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
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
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
with:
ruby-version: ${{ matrix.ruby }}
- run: ./specs.sh
- run: ./quality.sh