Skip to content

Bump turbo-rails from 2.0.5 to 2.0.6 #59

Bump turbo-rails from 2.0.5 to 2.0.6

Bump turbo-rails from 2.0.5 to 2.0.6 #59

Workflow file for this run

---
name: "Continuous Integration"
on:
push:
branches: ['main']
pull_request:
types: ['opened', 'reopened', 'synchronize', 'unlocked']
jobs:
# NOTE: @abachman
# In order to move a little faster for the Ruby for Good weekend event, I'm
# commenting out the ruby-lint job. We can re-enable it after the event
# once we've had a chance to let the dust settle and run `standardrb --fix`
# on everything.
# ruby-lint:
# name: Ruby Lint
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1.178.0
# with:
# ruby-version: '3.2.3'
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
# - name: Ruby Lint
# run: bundle exec standardrb --parallel -f github
rails-test:
name: Rails 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"
BROWSERSLIST_IGNORE_OLD_DATA: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1.178.0
with:
ruby-version: '3.2.3'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Set up database
run: bin/rails db:setup
- name: Run tests
run: bin/rails test