Skip to content

Commit

Permalink
Merge pull request #696 from sul-dlss/ruby34
Browse files Browse the repository at this point in the history
Test on ruby 3.4
  • Loading branch information
corylown authored Jan 17, 2025
2 parents be65cd4 + 9d09a1e commit abf7e51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,14 @@
name: "Ruby on Rails CI"
on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
# services:
# postgres:
# image: postgres:11-alpine
# ports:
# - "5432:5432"
# env:
# POSTGRES_DB: rails_test
# POSTGRES_USER: rails
# POSTGRES_PASSWORD: password
env:
RAILS_ENV: test
# Uncomment if we want to test on pg
# DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -34,7 +23,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2
ruby-version: 3.4
# Add or replace database setup steps here
- name: Set up database schema
run: bin/rails db:schema:load
Expand All @@ -51,7 +40,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2
ruby-version: 3.4
# Add or replace any other lints here
# - name: Security audit dependencies
# run: bin/bundler-audit --update
Expand Down
6 changes: 4 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,15 @@ GEM
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
concurrent-ruby (1.3.4)
concurrent-ruby (1.3.5)
connection_pool (2.5.0)
crack (1.0.0)
bigdecimal
rexml
crass (1.0.6)
cssbundling-rails (1.4.1)
railties (>= 6.0.0)
csv (3.3.2)
date (3.4.1)
debug (1.10.0)
irb (~> 1.10)
Expand Down Expand Up @@ -454,8 +455,9 @@ GEM
nokogiri (~> 1.9)
slop (~> 4.0)
yell
traject_plus (2.0.0)
traject_plus (2.0.1)
activesupport
csv
deprecation
jsonpath
traject (~> 3.0)
Expand Down

0 comments on commit abf7e51

Please sign in to comment.