Skip to content

[pre-commit.ci] pre-commit autoupdate (#593) #388

[pre-commit.ci] pre-commit autoupdate (#593)

[pre-commit.ci] pre-commit autoupdate (#593) #388

Workflow file for this run

name: Docs and lint
on: [push, pull_request, workflow_dispatch]
env:
FORCE_COLOR: 1
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
env:
- TOXENV: docs
- TOXENV: lint
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: "pyproject.toml"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
- name: Tox
run: tox
env: ${{ matrix.env }}