Skip to content

Commit

Permalink
Add type check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxcode123 committed Feb 15, 2024
1 parent afcf779 commit 2abdca6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/type-check-package.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2abdca6

Please sign in to comment.