Skip to content

Commit

Permalink
Update: Update to Ruby 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed May 3, 2024
1 parent b967129 commit 49ff805
Show file tree
Hide file tree
Showing 10 changed files with 250 additions and 234 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/backend-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get ruby version
id: ruby-version
run: |
echo RUBY_VERSION=$(cat backend/.ruby-version) >> $GITHUB_OUTPUT
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ steps.ruby-version.outputs.RUBY_VERSION }}
- name: Setup .env
run: |
cp ./config.test.yml ./config.yml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/frontend-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.test.yml ./config.yml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sub-audio-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:

- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.test.yml ./config.yml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sub-chart-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.test.yml ./config.yml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sub-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.test.yml ./config.yml
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.1
1 change: 0 additions & 1 deletion backend/.ruby-version

This file was deleted.

2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2.0-slim-bullseye
FROM ruby:3.3.1-slim-bullseye

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions backend/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.2.0"
ruby "3.3.1"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.0.4"
gem "rails", "~> 7.1"

# Use sqlite3 as the database for Active Record
# gem "sqlite3", "~> 1.4"
Expand Down
Loading

0 comments on commit 49ff805

Please sign in to comment.