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.
rbs validate
1 parent 18968da commit 12b4027Copy full SHA for 12b4027
.github/workflows/test.yml
@@ -34,3 +34,6 @@ jobs:
34
bundler-cache: true # 'bundle install' and cache
35
- name: Run test
36
run: bundle exec rake test
37
+ - name: RBS validate
38
+ run: bundle exec rbs -r openssl -r digest -r uri -r erb -r singleton -r tempfile -r socket -I sig validate
39
+ if: ${{ ! startsWith(matrix.ruby, '2.') }} # rbs requires ruby 3.0+
Gemfile
@@ -5,3 +5,6 @@ gemspec
5
gem "rake"
6
gem "test-unit"
7
gem "test-unit-ruby-core"
8
+
9
+# rbs requires ruby 3.0+
10
+gem "rbs", require: false if !RUBY_VERSION.start_with?('2.')
0 commit comments