Skip to content

Bump actionpack from 7.0.7.2 to 7.0.8.7 #33

Bump actionpack from 7.0.7.2 to 7.0.8.7

Bump actionpack from 7.0.7.2 to 7.0.8.7 #33

Workflow file for this run

name: "CI"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14.8
ports: ["5432:5432"]
env:
POSTGRES_DB: granny_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/granny_test
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Create Database
run: bin/rails db:create
- name: Migrate Database
run: bin/rails db:migrate
- name: Build tailwind
run: bin/rails tailwindcss:build
- name: Run tests
run: bin/rails test