Upgrade spellcheck.yml workflow

pull/2200/head
Simon Willison 2023-10-08 09:09:45 -07:00
rodzic 85a41987c7
commit 4e1188f60f
1 zmienionych plików z 6 dodań i 11 usunięć

Wyświetl plik

@ -9,18 +9,13 @@ jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
python-version: '3.11'
cache: 'pip'
cache-dependency-path: '**/setup.py'
- name: Install dependencies
run: |
pip install -e '.[docs]'