Skip to content

Commit

Permalink
WIP [ALT]: Rails 4.2 → Rails 6, Ruby 3.2.3 Upgrade (direct to main) (#65
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kigster authored Mar 12, 2024
1 parent 38d4774 commit 44f7801
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# This workflow will install a prebuilt Ruby version, install dependencies, and
# run tests and linters.
name: "Ruby on Rails CI"
name: "TicketBooth CI: Ruby on Rails"
on:
push:
branches: [ "main" ]
Expand All @@ -14,7 +14,8 @@ jobs:
test:
runs-on: ubuntu-latest
services:
image: postgres:15-alpine
postgres:
image: postgres:16-alpine
ports:
- "5432:5432"
env:
Expand Down Expand Up @@ -46,8 +47,8 @@ jobs:
- name: Install Ruby and gems
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: '3.2.3'
bundler-cache: true

- name: Set up database schema
run: bin/rails db:schema:load

Expand All @@ -60,10 +61,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
- name: Install Ruby and gems
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: '3.2.3'
bundler-cache: true

- name: Lint Ruby files
- name: RuboCop
run: bin/rubocop --parallel

0 comments on commit 44f7801

Please sign in to comment.