We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc3114 commit 1937577Copy full SHA for 1937577
.github/workflows/ci.yml
@@ -39,6 +39,7 @@ jobs:
39
- Gemfile
40
- gemfiles/Gemfile-rails-6-1
41
- gemfiles/Gemfile-rails-main
42
+ - gemfiles/Gemfile-sorbet-minimum
43
include:
44
- gemfile: gemfiles/Gemfile-rails-main
45
experimental: true
gemfiles/Gemfile-sorbet-minimum
@@ -0,0 +1,13 @@
1
+# frozen_string_literal: true
2
+
3
+# Extract minimum supported version from gemspec
4
+minimum_sorbet_version = File.read("tapioca.gemspec")[
5
+ # spec.add_dependency("sorbet-static-and-runtime", ">= 1.2.3456")
6
+ # ^^^^^^^^
7
+ /"sorbet-static-and-runtime", ">= ([^"]+)"/,
8
+ 1,
9
+]
10
11
+gem("sorbet-static-and-runtime", minimum_sorbet_version)
12
13
+eval_gemfile "../Gemfile"
0 commit comments