Skip to content

Commit

Permalink
Merge pull request #1632 from ruby/type-check-in-ci
Browse files Browse the repository at this point in the history
Add steep typecheck workflow
  • Loading branch information
soutaro committed Nov 22, 2023
2 parents a196be1 + 293e29f commit 9fa5652
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Type check

on:
push:
branches:
- master
pull_request: {}
merge_group: {}

jobs:
test:
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
container_tag:
- 3.2-dev-focal
container:
image: rubylang/ruby:${{ matrix.container_tag }}
steps:
- uses: actions/checkout@v4
- name: Set working directory as safe
run: git config --global --add safe.directory $(pwd)
- name: Install dependencies
run: |
apt-get update
apt-get install -y libdb-dev curl autoconf automake m4 libtool
- name: Update rubygems & bundler
run: |
ruby -v
gem update --system
- name: bin/setup
run: |
bin/setup
- name: Run steep check
run: |
bin/steep check -j 2

0 comments on commit 9fa5652

Please sign in to comment.