From 4862a2ee1fdb6ae02efdc1c6fccf03e8ea171ca9 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Wed, 22 Nov 2023 10:52:35 +0900 Subject: [PATCH] Add steep typecheck workflow --- .github/workflows/typecheck.yml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/typecheck.yml diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml new file mode 100644 index 000000000..af06e8936 --- /dev/null +++ b/.github/workflows/typecheck.yml @@ -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