Skip to content

Commit

Permalink
Add steep typecheck workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Nov 22, 2023
1 parent a737401 commit 4862a2e
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 test
run: |
bin/steep check

0 comments on commit 4862a2e

Please sign in to comment.