Skip to content

Use "SELECT 1" to check for DB connectivity and liveness #71

Use "SELECT 1" to check for DB connectivity and liveness

Use "SELECT 1" to check for DB connectivity and liveness #71

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.1.4', '3.2.3', '3.3.0']
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run Rubocop
run: bundle exec rake rubocop
- name: Run tests
run: bundle exec rake