diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 617b01e..386ca3b 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,7 +1,7 @@ name: Demo on: - push: + pull_request: jobs: build: @@ -38,7 +38,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} steps: - name: Pyright - uses: jakebailey/pyright-action@v2 + uses: codequest-eu/pyright-action@fix/relative-paths-in-annotations with: version: PATH working-directory: /opt/demo diff --git a/demo.py b/demo.py index 9261a52..0493645 100644 --- a/demo.py +++ b/demo.py @@ -1 +1 @@ -"foo" + 1 +"foo" + 2