Skip to content

Commit

Permalink
Check types in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Nov 15, 2023
1 parent d5c7482 commit a038f22
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- run: ./bin/setup
- run: rake check:type
- run: sudo apt-get install clang-format
- run: ./tools/clang-format-diff.sh
- run: rake check:bindgen
Expand Down
4 changes: 4 additions & 0 deletions tasks/check.rake
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ namespace :check do

desc "Check wit-bindgen'ed sources are up-to-date"
task bindgen: %i[bindgen_c bindgen_js]

task :type do
sh "bundle exec steep check"
end
end

0 comments on commit a038f22

Please sign in to comment.