diff --git a/.github/workflows/FusionTyping.yml b/.github/workflows/FusionTyping.yml new file mode 100644 index 000000000..1141a6e21 --- /dev/null +++ b/.github/workflows/FusionTyping.yml @@ -0,0 +1,28 @@ +name: Fusion - mypy Typing Validation + +on: + workflow_dispatch: {} + push: + branches: [ prod, dev ] + pull_request: + branches: [ prod, dev ] + +jobs: + mypy: + runs-on: ubuntu-latest + steps: + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: 3.7.4 + architecture: x64 + - name: Checkout + uses: actions/checkout@v3 + - name: Install mypy + run: pip install mypy + - name: Run mypy + uses: sasanquaneuf/mypy-github-action@releases/v1 + with: + checkName: 'mypy' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}