Skip to content

Commit

Permalink
Test on ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jan 17, 2025
1 parent 9d2fedf commit 9d7cd93
Showing 1 changed file with 4 additions and 15 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

0 comments on commit 9d7cd93

Please sign in to comment.