diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml new file mode 100644 index 0000000..4547782 --- /dev/null +++ b/.github/workflows/link-check.yml @@ -0,0 +1,19 @@ +name: Link Check + +on: + push: + branches: [ main, master ] + pull_request: + schedule: + - cron: "0 3 * * 1" + +jobs: + link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: lycheeverse/lychee-action@v2 + with: + args: --no-progress README.md docs/ apps/ examples/ benchmarks/ + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/packages/leann-backend-diskann/third_party/DiskANN b/packages/leann-backend-diskann/third_party/DiskANN index af2a264..67a2611 160000 --- a/packages/leann-backend-diskann/third_party/DiskANN +++ b/packages/leann-backend-diskann/third_party/DiskANN @@ -1 +1 @@ -Subproject commit af2a26481e65232b57b82d96e68833cdee9f7635 +Subproject commit 67a2611ad14bc11d84dfdb554c5567cfb78a2656 diff --git a/pyproject.toml b/pyproject.toml index 906593e..d3b42e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -134,6 +134,14 @@ dev = [ "ruff>=0.12.4", ] +[tool.lychee] +accept = ["200", "403", "429", "503"] +timeout = 20 +max_retries = 2 +exclude = ["localhost", "127.0.0.1", "example.com"] +exclude_path = [".git/", ".venv/", "__pycache__/", "third_party/"] +scheme = ["https", "http"] + [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"]