Skip to content

Commit

Permalink
Add GitHub action to verify doc links (#357)
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Vasquez <[email protected]>
  • Loading branch information
rafvasq authored Oct 4, 2022
1 parent 5e9958f commit dc48b0f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/verify-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 2021 The MLX Contributors
#
# SPDX-License-Identifier: Apache-2.0

name: Verify Links

on:
push:
branches:
- main

tags:
- v*

pull_request:

jobs:
check-links:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: pip install requests

- name: Link check
run: |
./tools/python/verify_doc_links.py

0 comments on commit dc48b0f

Please sign in to comment.