Skip to content

Preserve pip cache across GitHub actions #616

Preserve pip cache across GitHub actions

Preserve pip cache across GitHub actions #616

Workflow file for this run

name: Check
on:
- push
- pull_request
jobs:
build:
name: ${{ matrix.tox-environment }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tox-environment:
- doctest
- mypy
- ruff
env:
TOXENV: ${{ matrix.tox-environment }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: pip
- name: Install dependencies
run: python -m pip install tox
- name: Run
run: tox