Skip to content

Commit

Permalink
Use pyright-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Jan 10, 2024
1 parent 71fe164 commit 7ad5e3f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,10 @@ jobs:
with:
python-version: "${{ matrix.version }}"
cache: "poetry"
- name: Set up Node.js
id: node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: |
poetry install -n
poetry run pip install flake8 pytest
- name: Install Node.js dependencies
run: |
npm install -g pyright
- name: Code style
if: ${{ matrix.check-formatting }}
run: |
Expand All @@ -48,9 +40,9 @@ jobs:
- name: Lint
run: |
poetry run flake8 awscliv2
- run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
- name: Typing
run: |
poetry run npx pyright
uses: jakebailey/pyright-action@v1
- name: Test
run: |
poetry run pytest

0 comments on commit 7ad5e3f

Please sign in to comment.