Skip to content

chore(deps): bump rails from 7.1.4 to 7.2.2 #216

chore(deps): bump rails from 7.1.4 to 7.2.2

chore(deps): bump rails from 7.1.4 to 7.2.2 #216

Workflow file for this run

name: "Ruby on Rails CI"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
name: Test on Ubuntu
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: rails
POSTGRES_PASSWORD: password
POSTGRES_DB: rails_test
options: >-
--health-cmd "pg_isready -U rails"
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
RAILS_ENV: test
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.1
bundler-cache: true
- name: Install PostgreSQL client
run: sudo apt-get install -y libpq-dev
- name: Set up database
run: bin/rails db:schema:load
- name: Run tests
run: bundle exec rspec
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run linters
run: |
bundle exec rubocop
bundle exec brakeman -q -w2
bundle exec bundler-audit update