|
8 | 8 | gemfile: |
9 | 9 | - Gemfile |
10 | 10 | - gemfiles/Gemfile-rails-main |
| 11 | + - gemfiles/Gemfile-rails-7-0 |
11 | 12 | - gemfiles/Gemfile-rails-6-1 |
12 | 13 | - gemfiles/Gemfile-rails-6-0 |
13 | | - - gemfiles/Gemfile-rails-5-2 |
14 | | - - gemfiles/Gemfile-rails-5-1 |
15 | | - - gemfiles/Gemfile-rails-5-0 |
16 | | - - gemfiles/Gemfile-rails-4-2 |
17 | | - - gemfiles/Gemfile-rails-4-1 |
18 | 14 | ruby: |
| 15 | + - '3.3' |
| 16 | + - '3.2' |
19 | 17 | - '3.1' |
20 | 18 | - '3.0' |
21 | 19 | - '2.7' |
22 | | - - '2.6' |
23 | | - - '2.5' |
24 | | - - '2.4' |
25 | | - - '2.3' |
26 | | - - '2.2' |
27 | | - - '2.1' |
28 | 20 | env: |
29 | 21 | - DEVISE_ORM=active_record |
30 | 22 | - DEVISE_ORM=mongoid |
31 | 23 | exclude: |
32 | | - - gemfile: Gemfile |
33 | | - ruby: '2.6' |
34 | | - - gemfile: Gemfile |
35 | | - ruby: '2.5' |
36 | | - - gemfile: Gemfile |
37 | | - ruby: '2.4' |
38 | | - - gemfile: Gemfile |
39 | | - ruby: '2.3' |
40 | | - - gemfile: Gemfile |
41 | | - ruby: '2.2' |
42 | | - - gemfile: Gemfile |
43 | | - ruby: '2.1' |
44 | | - - gemfile: Gemfile |
45 | | - env: DEVISE_ORM=mongoid |
46 | 24 | - gemfile: gemfiles/Gemfile-rails-main |
47 | | - ruby: '2.6' |
| 25 | + ruby: '2.7' # Rails > 7.1 supports Ruby >= 3.1 |
48 | 26 | - gemfile: gemfiles/Gemfile-rails-main |
49 | | - ruby: '2.5' |
| 27 | + ruby: '3.0' # Rails > 7.1 supports Ruby >= 3.1 |
50 | 28 | - gemfile: gemfiles/Gemfile-rails-main |
51 | | - ruby: '2.4' |
52 | | - - gemfile: gemfiles/Gemfile-rails-main |
53 | | - ruby: '2.3' |
54 | | - - gemfile: gemfiles/Gemfile-rails-main |
55 | | - ruby: '2.2' |
56 | | - - gemfile: gemfiles/Gemfile-rails-main |
57 | | - ruby: '2.1' |
| 29 | + ruby: '3.1' # Rails >= 8.0 supports Ruby >= 3.2 |
| 30 | + - gemfile: Gemfile |
| 31 | + env: DEVISE_ORM=mongoid |
58 | 32 | - gemfile: gemfiles/Gemfile-rails-main |
59 | 33 | env: DEVISE_ORM=mongoid |
60 | | - - gemfile: gemfiles/Gemfile-rails-6-1 |
61 | | - ruby: '2.4' |
62 | | - - gemfile: gemfiles/Gemfile-rails-6-1 |
63 | | - ruby: '2.3' |
64 | | - - gemfile: gemfiles/Gemfile-rails-6-1 |
65 | | - ruby: '2.2' |
66 | | - - gemfile: gemfiles/Gemfile-rails-6-1 |
67 | | - ruby: '2.1' |
| 34 | + - gemfile: gemfiles/Gemfile-rails-7-0 |
| 35 | + env: DEVISE_ORM=mongoid |
68 | 36 | - gemfile: gemfiles/Gemfile-rails-6-1 |
69 | 37 | env: DEVISE_ORM=mongoid |
70 | 38 | - gemfile: gemfiles/Gemfile-rails-6-0 |
71 | | - ruby: '3.1' |
72 | | - - gemfile: gemfiles/Gemfile-rails-6-0 |
73 | | - ruby: '2.4' |
| 39 | + ruby: '3.2' |
74 | 40 | - gemfile: gemfiles/Gemfile-rails-6-0 |
75 | | - ruby: '2.3' |
76 | | - - gemfile: gemfiles/Gemfile-rails-6-0 |
77 | | - ruby: '2.2' |
78 | | - - gemfile: gemfiles/Gemfile-rails-6-0 |
79 | | - ruby: '2.1' |
80 | | - - gemfile: gemfiles/Gemfile-rails-6-0 |
81 | | - env: DEVISE_ORM=mongoid |
82 | | - - gemfile: gemfiles/Gemfile-rails-5-2 |
83 | 41 | ruby: '3.1' |
84 | | - - gemfile: gemfiles/Gemfile-rails-5-2 |
85 | | - ruby: '3.0' |
86 | | - - gemfile: gemfiles/Gemfile-rails-5-2 |
87 | | - ruby: '2.7' |
88 | | - - gemfile: gemfiles/Gemfile-rails-5-2 |
89 | | - ruby: '2.2' |
90 | | - - gemfile: gemfiles/Gemfile-rails-5-2 |
91 | | - ruby: '2.1' |
92 | | - - gemfile: gemfiles/Gemfile-rails-5-2 |
93 | | - env: DEVISE_ORM=mongoid |
94 | | - - gemfile: gemfiles/Gemfile-rails-5-1 |
95 | | - ruby: '3.1' |
96 | | - - gemfile: gemfiles/Gemfile-rails-5-1 |
97 | | - ruby: '3.0' |
98 | | - - gemfile: gemfiles/Gemfile-rails-5-1 |
99 | | - ruby: '2.7' |
100 | | - - gemfile: gemfiles/Gemfile-rails-5-1 |
101 | | - ruby: '2.1' |
102 | | - - gemfile: gemfiles/Gemfile-rails-5-1 |
103 | | - env: DEVISE_ORM=mongoid |
104 | | - - gemfile: gemfiles/Gemfile-rails-5-0 |
105 | | - ruby: '3.1' |
106 | | - - gemfile: gemfiles/Gemfile-rails-5-0 |
107 | | - ruby: '3.0' |
108 | | - - gemfile: gemfiles/Gemfile-rails-5-0 |
109 | | - ruby: '2.7' |
110 | | - - gemfile: gemfiles/Gemfile-rails-5-0 |
111 | | - ruby: '2.1' |
112 | | - - gemfile: gemfiles/Gemfile-rails-5-0 |
| 42 | + - gemfile: gemfiles/Gemfile-rails-6-0 |
113 | 43 | env: DEVISE_ORM=mongoid |
114 | | - - gemfile: gemfiles/Gemfile-rails-4-2 |
115 | | - ruby: '3.1' |
116 | | - - gemfile: gemfiles/Gemfile-rails-4-2 |
117 | | - ruby: '3.0' |
118 | | - - gemfile: gemfiles/Gemfile-rails-4-2 |
119 | | - ruby: '2.7' |
120 | | - - gemfile: gemfiles/Gemfile-rails-4-2 |
121 | | - ruby: '2.6' |
122 | | - - gemfile: gemfiles/Gemfile-rails-4-1 |
123 | | - ruby: '3.1' |
124 | | - - gemfile: gemfiles/Gemfile-rails-4-1 |
125 | | - ruby: '3.0' |
126 | | - - gemfile: gemfiles/Gemfile-rails-4-1 |
127 | | - ruby: '2.7' |
128 | | - - gemfile: gemfiles/Gemfile-rails-4-1 |
129 | | - ruby: '2.6' |
130 | | - - gemfile: gemfiles/Gemfile-rails-4-1 |
131 | | - ruby: '2.5' |
132 | | - - gemfile: gemfiles/Gemfile-rails-4-1 |
133 | | - ruby: '2.4' |
134 | 44 | runs-on: ubuntu-latest |
135 | 45 | env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps |
136 | 46 | BUNDLE_GEMFILE: ${{ matrix.gemfile }} |
137 | 47 | steps: |
138 | | - - uses: actions/checkout@v2 |
139 | | - - name: Setup Bundler 1.x for Rails 4.x |
140 | | - if: ${{ matrix.gemfile == 'gemfiles/Gemfile-rails-4-1' || matrix.gemfile == 'gemfiles/Gemfile-rails-4-2' }} |
141 | | - run: echo "BUNDLER_VERSION=1.17.3" >> $GITHUB_ENV |
| 48 | + - uses: actions/checkout@v3 |
142 | 49 | - uses: ruby/setup-ruby@v1 |
143 | 50 | with: |
144 | 51 | ruby-version: ${{ matrix.ruby }} |
145 | 52 | bundler-cache: true # runs bundle install and caches installed gems automatically |
146 | | - bundler: ${{ env.BUNDLER_VERSION || 'latest' }} |
147 | | - - uses: supercharge/mongodb-github-action@1.3.0 |
| 53 | + - uses: supercharge/mongodb-github-action@1.9.0 |
148 | 54 | if: ${{ matrix.env == 'DEVISE_ORM=mongoid' }} |
149 | 55 | - run: bundle exec rake |
0 commit comments