change functools.cache to lru_cache #1453
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
name: Check Markdown and doc links | |
on: | |
workflow_dispatch: # Allow manual triggers | |
pull_request: | |
branches: | |
- main | |
jobs: | |
link-checker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python 3 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.10.* | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests==2.27.1 | |
- name: Run unittests | |
run: | | |
export CURL_CA_BUNDLE='' | |
python -m unittest tests/doc_tests/test_docs_links.py -v |