From 2abdca6a9f7beba859b454fdd3c30cbde9cb4486 Mon Sep 17 00:00:00 2001 From: Maximos Nikiforakis Date: Thu, 15 Feb 2024 18:24:04 +0200 Subject: [PATCH] Add type check workflow --- .github/workflows/type-check-package.yml | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/type-check-package.yml diff --git a/.github/workflows/type-check-package.yml b/.github/workflows/type-check-package.yml new file mode 100644 index 0000000..a6765e4 --- /dev/null +++ b/.github/workflows/type-check-package.yml @@ -0,0 +1,26 @@ +name: Type-check package + +on: + workflow_call: + workflow_dispatch: + push: + branches: ["main", "feature/*"] + pull_request: + branches: ["main"] + +jobs: + type-check-package: + runs-on: ubuntu-latest + + env: + TYPE_CHECKER: mypy + CONFIG: ./pyproject.toml + + steps: + - uses: actions/checkout@v3 + - name: Set Up Python 3.12 + uses: actions/setup-python@v3 + with: + python-version: "3.12" + - name: Type-check package + run: make type-check-package \ No newline at end of file