File tree Expand file tree Collapse file tree 4 files changed +45
-0
lines changed
Expand file tree Collapse file tree 4 files changed +45
-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+ env :
9+ BUNDLE_GEMFILE : Gemfile.steep
10+ steps :
11+ - uses : actions/checkout@v6
12+ - name : Set up Ruby
13+ uses : ruby/setup-ruby@v1
14+ with :
15+ ruby-version : " ruby"
16+ bundler-cache : true
17+ - name : Type check
18+ run : bundle exec rake steep
Original file line number Diff line number Diff line change 1+ source "https://rubygems.org"
2+
3+ gem "rake"
4+ gem "rbs", "~> 3.9"
5+ gem "steep"
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