Skip to content

Commit f4509f3

Browse files
committed
CI against Rails 8.0
1 parent 3d2ed7c commit f4509f3

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
include:
13+
- name: "Ruby 3.3 & Rails 8.0"
14+
ruby-version: "3.3"
15+
rails-version: "8.0"
16+
- name: "Ruby 3.2 & Rails 8.0"
17+
ruby-version: "3.2"
18+
rails-version: "8.0"
1319
- name: "Ruby 3.3 & Rails 7"
1420
ruby-version: "3.3"
1521
rails-version: "7"
@@ -135,6 +141,8 @@ jobs:
135141
fail-fast: false
136142
matrix:
137143
include:
144+
- ruby-version: "3.3"
145+
rails-version: "8.0"
138146
- ruby-version: "2.7"
139147
rails-version: "7"
140148
- ruby-version: "2.7"

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
version: "3.7"
22

33
services:
4+
ruby-3.3-rails-8.0:
5+
build:
6+
context: .
7+
dockerfile: dockerfiles/ruby.dockerfile
8+
args:
9+
FROM: ruby:3.3
10+
RAILS_VERSION: 8.0
11+
volumes:
12+
- .:/source:delegated
13+
414
ruby-2.7-rails-7:
515
build:
616
context: .

gemfiles/rails8.0.gemfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# -*- ruby -*-
2+
#
3+
# Copyright (C) 2021 Sutou Kouhei <[email protected]>
4+
#
5+
# This library is free software; you can redistribute it and/or
6+
# modify it under the terms of the GNU Lesser General Public
7+
# License as published by the Free Software Foundation; either
8+
# version 2.1 of the License, or (at your option) any later version.
9+
#
10+
# This library is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
# Lesser General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU Lesser General Public
16+
# License along with this library; if not, write to the Free Software
17+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18+
19+
source "https://rubygems.org/"
20+
21+
gemspec path: ".."
22+
23+
gem "rails", "< 8.1"
24+
gem "puma"

0 commit comments

Comments
 (0)