Skip to content

Commit 0d37e08

Browse files
committed
👷 Evergreen ruby current
1 parent b76957b commit 0d37e08

28 files changed

+67
-67
lines changed

.github/workflows/ancient.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020

2121
jobs:
2222
test:
23-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
23+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
2424
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
2525
runs-on: ubuntu-22.04
2626
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -69,9 +69,9 @@ jobs:
6969
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
7070
# We need to do this first to get appraisal installed.
7171
# NOTE: This does not use the main Gemfile at all.
72-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
72+
- name: Install Root Appraisal
7373
run: bundle
74-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
74+
- name: Appraisal for ${{ matrix.appraisal }}
7575
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
76-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
76+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
7777
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030

3131
jobs:
3232
test:
33-
name: Specs with Coverage - Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
33+
name: Specs with Coverage ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
3434
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3535
runs-on: ubuntu-latest
3636
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}

.github/workflows/current.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,32 @@ jobs:
3636
strategy:
3737
matrix:
3838
include:
39-
39+
# Ruby 3.4
4040
- ruby: "ruby"
4141
appraisal: "ruby-current"
4242
exec_cmd: "rake spec"
4343
gemfile: "Appraisal.root"
4444
rubygems: latest
4545
bundler: latest
46+
name_extra: "ruby-3.4" # NOTE: This will become out of date!
4647

48+
# truffleruby-24.1 (targets Ruby 3.3.5 compatibility)
4749
- ruby: "truffleruby"
4850
appraisal: "ruby-current"
4951
exec_cmd: "rake spec"
5052
gemfile: "Appraisal.root"
5153
rubygems: default
5254
bundler: default
55+
name_extra: "truffleruby-24.1" # NOTE: This will become out of date!
5356

57+
# jruby-9.4 (targets Ruby 3.1 compatibility)
5458
- ruby: "jruby"
5559
appraisal: "ruby-current"
5660
exec_cmd: "rake spec"
5761
gemfile: "Appraisal.root"
5862
rubygems: default
5963
bundler: default
64+
name_extra: "jruby-9.4" # NOTE: This will become out of date!
6065

6166
steps:
6267
- name: Checkout
@@ -73,9 +78,9 @@ jobs:
7378
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
7479
# We need to do this first to get appraisal installed.
7580
# NOTE: This does not use the main Gemfile at all.
76-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
81+
- name: Install Root Appraisal
7782
run: bundle
78-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
83+
- name: Appraisal for ${{ matrix.appraisal }}
7984
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
80-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
85+
- name: Tests for ${{ matrix.ruby }}@${{ matrix.name_extra }} via ${{ matrix.exec_cmd }}
8186
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/heads.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
test:
29-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
29+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
3030
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3131
runs-on: ubuntu-latest
3232
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -76,9 +76,9 @@ jobs:
7676
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
7777
# We need to do this first to get appraisal installed.
7878
# NOTE: This does not use the main Gemfile at all.
79-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
79+
- name: Install Root Appraisal
8080
run: bundle
81-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
81+
- name: Appraisal for ${{ matrix.appraisal }}
8282
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
83-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
83+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
8484
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/hoary.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concurrency:
2121

2222
jobs:
2323
test:
24-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
24+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
2525
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
2626
runs-on: ubuntu-20.04
2727
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -54,9 +54,9 @@ jobs:
5454
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
5555
# We need to do this first to get appraisal installed.
5656
# NOTE: This does not use the main Gemfile at all.
57-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
57+
- name: Install Root Appraisal
5858
run: bundle
59-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
59+
- name: Appraisal for ${{ matrix.appraisal }}
6060
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
61-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
61+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
6262
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/jruby.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
test:
29-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
29+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
3030
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3131
runs-on: ubuntu-22.04
3232
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -83,9 +83,9 @@ jobs:
8383
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
8484
# We need to do this first to get appraisal installed.
8585
# NOTE: This does not use the main Gemfile at all.
86-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
86+
- name: Install Root Appraisal
8787
run: bundle
88-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
88+
- name: Appraisal for ${{ matrix.appraisal }}
8989
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
90-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
90+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
9191
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/legacy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
test:
29-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
29+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
3030
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3131
runs-on: ubuntu-22.04
3232
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -59,9 +59,9 @@ jobs:
5959
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
6060
# We need to do this first to get appraisal installed.
6161
# NOTE: This does not use the main Gemfile at all.
62-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
62+
- name: Install Root Appraisal
6363
run: bundle
64-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
64+
- name: Appraisal for ${{ matrix.appraisal }}
6565
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
66-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
66+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
6767
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/supported.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
test:
29-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
29+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
3030
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3131
runs-on: ubuntu-latest
3232
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -36,23 +36,23 @@ jobs:
3636
matrix:
3737
include:
3838
# Ruby 3.1
39-
- ruby: "3.1"
39+
- ruby: "ruby-3.1"
4040
appraisal: "ruby-3-1"
4141
exec_cmd: "rake spec"
4242
gemfile: "Appraisal.root"
4343
rubygems: latest
4444
bundler: latest
4545

4646
# Ruby 3.2
47-
- ruby: "3.2"
47+
- ruby: "ruby-3.2"
4848
appraisal: "ruby-3-2"
4949
exec_cmd: "rake spec"
5050
gemfile: "Appraisal.root"
5151
rubygems: latest
5252
bundler: latest
5353

5454
# Ruby 3.3
55-
- ruby: "3.3"
55+
- ruby: "ruby-3.3"
5656
appraisal: "ruby-3-3"
5757
exec_cmd: "rake spec"
5858
gemfile: "Appraisal.root"
@@ -74,9 +74,9 @@ jobs:
7474
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
7575
# We need to do this first to get appraisal installed.
7676
# NOTE: This does not use the main Gemfile at all.
77-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
77+
- name: Install Root Appraisal
7878
run: bundle
79-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
79+
- name: Appraisal for ${{ matrix.ruby }} ${{ matrix.appraisal }}
8080
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
81-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
81+
- name: Tests for ${{ matrix.ruby }} ${{ matrix.appraisal }} via ${{ matrix.exec_cmd }}
8282
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/truffle.yml

+4-12
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
test:
29-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
29+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
3030
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3131
runs-on: ubuntu-22.04
3232
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -60,14 +60,6 @@ jobs:
6060
rubygems: default
6161
bundler: default
6262

63-
# truffleruby-24.1 (targets Ruby 3.3.5 compatibility)
64-
- ruby: "truffleruby-24.1"
65-
appraisal: "ruby-3-3"
66-
exec_cmd: "rake spec"
67-
gemfile: "Appraisal.root"
68-
rubygems: default
69-
bundler: default
70-
7163
steps:
7264
- name: Checkout
7365
uses: actions/checkout@v4
@@ -83,9 +75,9 @@ jobs:
8375
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
8476
# We need to do this first to get appraisal installed.
8577
# NOTE: This does not use the main Gemfile at all.
86-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
78+
- name: Install Root Appraisal
8779
run: bundle
88-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
80+
- name: Appraisal for ${{ matrix.appraisal }}
8981
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
90-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
82+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
9183
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/unsupported.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
test:
29-
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
29+
name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
3030
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3131
runs-on: ubuntu-22.04
3232
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -37,15 +37,15 @@ jobs:
3737
matrix:
3838
include:
3939
# Ruby 2.6
40-
- ruby: "2.6"
40+
- ruby: "ruby-2.6"
4141
appraisal: "ruby-2-6"
4242
exec_cmd: "rake spec"
4343
gemfile: "Appraisal.root"
4444
rubygems: '3.4.22'
4545
bundler: '2.4.22'
4646

4747
# Ruby 2.7
48-
- ruby: "2.7"
48+
- ruby: "ruby-2.7"
4949
appraisal: "ruby-2-7"
5050
exec_cmd: "rake spec"
5151
gemfile: "Appraisal.root"
@@ -67,9 +67,9 @@ jobs:
6767
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
6868
# We need to do this first to get appraisal installed.
6969
# NOTE: This does not use the main Gemfile at all.
70-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
70+
- name: Install Root Appraisal
7171
run: bundle
72-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
72+
- name: Appraisal for ${{ matrix.appraisal }}
7373
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
74-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
74+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
7575
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
3636
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
3737
```
3838

39+
When adding an appraisal to CI check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
40+
3941
## The Reek List
4042

4143
Take a look at the `reek` list which is the file called `REEK` and find something to improve.
@@ -129,3 +131,4 @@ See: [RubyGems Security Guide][🔒️rubygems-security-guide]
129131
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
130132
[🚎appraisal-eval-gemfile-pr]: https://github.com/thoughtbot/appraisal/pull/248
131133
[🚎appraisal-fork]: https://github.com/pboling/appraisal/tree/galtzo
134+
[🏃‍♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache

gemfiles/audit.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"
99

1010
eval_gemfile("modular/audit.gemfile")

gemfiles/coverage.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"
99

1010
eval_gemfile("modular/coverage.gemfile")

gemfiles/jruby_head.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", ">= 0.2"
66
gem "stringio", ">= 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_2_2.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source "https://rubygems.org"
44

5-
gemspec :path => "../"
5+
gemspec path: "../"

gemfiles/ruby_2_3.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source "https://rubygems.org"
44

5-
gemspec :path => "../"
5+
gemspec path: "../"

gemfiles/ruby_2_4.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source "https://rubygems.org"
44

5-
gemspec :path => "../"
5+
gemspec path: "../"

gemfiles/ruby_2_5.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source "https://rubygems.org"
44

5-
gemspec :path => "../"
5+
gemspec path: "../"

gemfiles/ruby_2_6.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_2_7.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_3_0.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_3_1.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_3_2.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_3_3.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_current.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", ">= 0.2"
66
gem "stringio", ">= 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

gemfiles/ruby_head.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", ">= 0.2"
66
gem "stringio", ">= 3.0"
77

8-
gemspec :path => "../"
8+
gemspec path: "../"

0 commit comments

Comments
 (0)