Skip to content

Commit

Permalink
Update Ruby and Node.js version in test cases and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
simukappu committed Jan 14, 2025
1 parent 9cc643c commit 508d2cf
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 9 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
# https://nodejs.org/en/download/current
# https://nodejs.org/en/about/previous-releases
node-version: 21.6.2
node-version: 23.6.0

jobs:
build:
Expand All @@ -22,17 +22,20 @@ jobs:
fail-fast: false
matrix:
gemfile:
- gemfiles/Gemfile.rails-6.1
- gemfiles/Gemfile.rails-7.0
- gemfiles/Gemfile.rails-7.1
- gemfiles/Gemfile.rails-7.2
- gemfiles/Gemfile.rails-8.0
include:
# https://www.ruby-lang.org/en/downloads
- gemfile: gemfiles/Gemfile.rails-6.1
ruby-version: 3.3.0
- gemfile: gemfiles/Gemfile.rails-7.0
ruby-version: 3.3.0
ruby-version: 3.1.6
- gemfile: gemfiles/Gemfile.rails-7.1
ruby-version: 3.3.0
ruby-version: 3.2.6
- gemfile: gemfiles/Gemfile.rails-7.2
ruby-version: 3.3.6
- gemfile: gemfiles/Gemfile.rails-8.0
ruby-version: 3.3.6
- gemfile: Gemfile
ruby-version: head
allow_failures: 'true'
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3.0
FROM ruby:3.4.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs npm
ENV ROOT="/amazon-chime-sdk-rails"
WORKDIR ${ROOT}
Expand Down
2 changes: 0 additions & 2 deletions gemfiles/Gemfile.rails-7.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ gemspec path: '../'

# Bundle Rails
gem 'rails', '~> 7.1.0'
# https://github.com/lynndylanhurley/devise_token_auth/pull/1606
gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git'

gem 'sqlite3'
gem 'puma'
Expand Down
24 changes: 24 additions & 0 deletions gemfiles/Gemfile.rails-7.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
source 'https://rubygems.org'

gemspec path: '../'

# Bundle Rails
gem 'rails', '~> 7.2.0'

gem 'sqlite3'
gem 'puma'
gem 'sass-rails'
gem 'turbolinks'
gem 'jbuilder'

group :development do
gem 'web-console'
gem 'listen'
gem 'spring'
gem 'spring-watcher-listen'
end

group :test do
# gem 'coveralls', require: false
gem 'coveralls_reborn', require: false
end
26 changes: 26 additions & 0 deletions gemfiles/Gemfile.rails-8.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
source 'https://rubygems.org'

gemspec path: '../'

# Bundle Rails
gem 'rails', '~> 8.0.0'
# https://github.com/lynndylanhurley/devise_token_auth/pull/1639
gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git'

gem 'sqlite3'
gem 'puma'
gem 'sass-rails'
gem 'turbolinks'
gem 'jbuilder'

group :development do
gem 'web-console'
gem 'listen'
gem 'spring'
gem 'spring-watcher-listen'
end

group :test do
# gem 'coveralls', require: false
gem 'coveralls_reborn', require: false
end

0 comments on commit 508d2cf

Please sign in to comment.