Skip to content

Bump ruby/setup-ruby from 1.238.0 to 1.244.0 #46

Bump ruby/setup-ruby from 1.238.0 to 1.244.0

Bump ruby/setup-ruby from 1.238.0 to 1.244.0 #46

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
services:
postgres:
image: postgres
env:
POSTGRES_USER: "test"
POSTGRES_PASSWORD: "test"
POSTGRES_DB: "rescue_from_duplicate"
ports:
- "5432:5432"
mysql:
image: mysql:8.0
env:
MYSQL_USER: "test"
MYSQL_PASSWORD: "test"
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_DATABASE: "rescue_from_duplicate"
ports:
- "3306:3306"
options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 10
strategy:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3"]
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb # v1.244.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: 1
- name: Tests
run: bundle exec rake