Skip to content

Commit

Permalink
Merge pull request #309 from ruby/pr-4c0932d4acf2e2e33e094fb19c12dc46…
Browse files Browse the repository at this point in the history
…b94f8ae1

Check types in CI
  • Loading branch information
kateinoigakukun authored Nov 15, 2023
2 parents d5c7482 + a038f22 commit 07f1fdc
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 07f1fdc

Please sign in to comment.