Skip to content

Bump actions/checkout from 3 to 4 #36

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #36

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ruby_rails_matrix:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432/tcp
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
strategy:
matrix:
ruby: [2.7, '3.0', 3.1, 3.2]
rails: [5, 6.0, 6.1, 7.0, 7.1]
exclude:
- ruby: '3.0'
rails: 5
- ruby: 3.1
rails: 4
- ruby: 3.1
rails: 5
- ruby: 3.1
rails: 6.0
- ruby: 3.2
rails: 4
- ruby: 3.2
rails: 5
- ruby: 3.2
rails: 6.0
- ruby: 3.2
rails: 6.1
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: |
rm -rf Gemfile.lock && bundle && rake
env:
RAILS_VERSION: ~> ${{ matrix.rails }}
DATABASE_URL: postgresql://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres?pool=5