readme: update #68
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
--- | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
cache: poetry | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies (Poetry) | |
run: poetry install --with=dev --with=docs --with=tests | |
- name: Install dependencies (Yarn) | |
run: yarn | |
- name: Lint with mypy | |
run: yarn mypy | |
- name: Lint with ruff | |
run: yarn ruff | |
- name: Lint with rstcheck | |
run: yarn rstcheck | |
- name: Check spelling | |
run: yarn check-spelling | |
- name: Check formatting | |
run: yarn check-formatting | |
strategy: | |
matrix: | |
python-version: | |
- '3.10' | |
- '3.11' | |
name: QA | |
'on': | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master |