Skip to content

Bump rack-timeout from 0.2.4 to 0.6.3 #123

Bump rack-timeout from 0.2.4 to 0.6.3

Bump rack-timeout from 0.2.4 to 0.6.3 #123

Workflow file for this run

name: Main
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6
env:
POSTGRES_PASSWORD: postgres
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/events-api_test
RAILS_ENV: test
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- uses: actions/cache@v2.1.4
with:
path: vendor/bundle
key: gems-${{ hashFiles('Gemfile.lock') }}
restore-keys: gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle config set frozen 'true'
bundle install --jobs 4 --retry 3
- name: Set Up Database
run: bundle exec rails db:create db:schema:load
- name: Run specs
run: bundle exec rake