Skip to content

Bump dockerfile-rails from 1.6.1 to 1.6.3 #244

Bump dockerfile-rails from 1.6.1 to 1.6.3

Bump dockerfile-rails from 1.6.1 to 1.6.3 #244

Workflow file for this run

# This workflow uses actions that are not certified by GitHub. They are
# provided by a third-party and are governed by separate terms of service,
# privacy policy, and support documentation.
#
# This workflow will install a prebuilt Ruby version, install dependencies, and
# run tests and linters.
---
name: "Ruby on Rails CI"
on:
push:
branches: ['main']
pull_request:
types: ['opened', 'reopened', 'synchronize', 'unlocked']
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
ports:
- "5432:5432"
env:
POSTGRES_DB: sif
POSTGRES_USER: sif
POSTGRES_PASSWORD: password
redis:
image: redis:7.0
env:
RAILS_ENV: test
DATABASE_URL: "postgres://sif:password@localhost:5432/sif"
REDIS_URL: "redis://localhost:6379/1"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby and gems
uses: ruby/[email protected]
with:
ruby-version: '3.2.2'
bundler-cache: true
- name: Set up database schema
run: bin/rails db:schema:load
- name: Run tests
run: bin/rake