Skip to content

Commit

Permalink
CI: Enable Sorbet typecheck
Browse files Browse the repository at this point in the history
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
  • Loading branch information
kostyanf14 committed Mar 4, 2024
1 parent ddafe26 commit 2f721a6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,34 @@ jobs:
- name: RSpec run
run: bundle exec rspec

typecheck:
runs-on: ubuntu-20.04
strategy:
fail-fast: false

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Update Ubuntu package repository
run: sudo apt-get update
- name: Setup sqlite-devel
run: sudo apt-get -y install libsqlite3-dev
- name: Setup libcurl-devel
run: sudo apt-get -y install libcurl4 libcurl3-gnutls libcurl4-openssl-dev

- name: Set up Ruby 3.1.4
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.4
bundler-cache: false

- name: Install dependencies
run: bundle install

- name: Run sorbet type check
run: bundle exec srb typecheck

rubocop:
runs-on: ubuntu-20.04
strategy:
Expand Down

0 comments on commit 2f721a6

Please sign in to comment.