This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
chore: install speedup deps again #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
- push | |
jobs: | |
pyright: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
fail-fast: false | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run pyright | |
run: | | |
pdm use -f ${{ matrix.python-version }} | |
pdm install -dG lint | |
pdm install -G speedup | |
pdm run pyright discatcore |