Skip to content

rename token to token_for #76

rename token to token_for

rename token to token_for #76

name: Type Coverage and Linting
on:
push:
branches:
- dev/3.0
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.x"]
name: "Type Coverage and Linting @ ${{ matrix.python-version }}"
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: dev/3.0
- name: "Setup Python @ ${{ matrix.python-version }}"
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
cache: "pip"
- name: "Install Python deps @ ${{ matrix.python-version }}"
id: install-deps
run: |
pip install -Ur requirements.txt starlette uvicorn
- name: "Run Pyright @ ${{ matrix.python-version }}"
uses: jakebailey/pyright-action@v1
with:
no-comments: ${{ matrix.python-version != '3.x' }}
warnings: false
- name: Lint with Ruff
if: ${{ always() && steps.install-deps.outcome == 'success' }}
uses: chartboost/ruff-action@v1