Skip to content

Bump the dev-dependencies group with 2 updates #437

Bump the dev-dependencies group with 2 updates

Bump the dev-dependencies group with 2 updates #437

Workflow file for this run

name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: maiili/rating-db-schema:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: test_db
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
- name: Install PostgreSQL client
run: sudo apt-get -yqq install postgresql-client
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: oven-sh/setup-bun@v2
with:
bun-version-file: .bun-version
- name: Compile frontend assets
run: bundle exec rake assets:precompile
- name: Run tests
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test_db
NEWRELIC_AGENT_ENABLED: false
run: bundle exec rake test
linter:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Linter
run: bundle exec rubocop
brakeman:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Linter
run: bundle exec brakeman