Skip to content

🚨 [security] Update concurrent-ruby 1.3.5 → 1.3.7 (patch) #458

🚨 [security] Update concurrent-ruby 1.3.5 → 1.3.7 (patch)

🚨 [security] Update concurrent-ruby 1.3.5 → 1.3.7 (patch) #458

Workflow file for this run

name: rubies-ci
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # macos-latest
ruby: ['3.4'] # Due to https://github.com/actions/runner/issues/849, we have to use quotes
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres:17
env:
POSTGRES_DB: qanda_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Setup test database
env:
RAILS_ENV: test
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: postgres
run: bin/rails db:create db:migrate
- name: Run linters and test suite
run: bundle exec rake ci