File tree Expand file tree Collapse file tree 4 files changed +39
-0
lines changed
Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : typecheck
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ steep :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v6
10+ - name : Set up Ruby
11+ uses : ruby/setup-ruby@v1
12+ with :
13+ ruby-version : " 4.0"
14+ bundler-cache : true
15+ - name : Type check
16+ run : bundle exec rake steep
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ source "https://rubygems.org"
33gemspec
44
55gem "rake"
6+ gem "steep"
67gem "test-unit"
78gem "test-unit-ruby-core"
89
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ Rake::TestTask.new(:test) do |t|
88 t . test_files = FileList [ "test/**/test_*.rb" ]
99end
1010
11+ desc "Type check with Steep"
12+ task :steep do
13+ sh "steep check"
14+ end
15+
1116namespace :rbs do
1217 Rake ::TestTask . new ( :test ) do |t |
1318 t . libs << "test_sig"
Original file line number Diff line number Diff line change 1+ target :lib do
2+ check "lib"
3+ signature "sig"
4+
5+ library "cgi"
6+ library "open-uri"
7+ library "net-protocol"
8+ library "openssl"
9+ library "resolv"
10+ library "securerandom"
11+ library "socket"
12+ library "strscan"
13+ library "tempfile"
14+ library "timeout"
15+ library "uri"
16+ library "zlib"
17+ end
You can’t perform that action at this time.
0 commit comments