Skip to content

Commit

Permalink
add check links workflow
Browse files Browse the repository at this point in the history
Signed-off-by: YunLiu <[email protected]>
  • Loading branch information
KumoLiu committed Oct 16, 2024
1 parent 8574056 commit ab61437
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check Links

on:
push:
branches:
- main
pull_request:

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v3

- name: Install Rust (required for Lychee)
run: sudo apt update && sudo apt install -y curl build-essential && curl https://sh.rustup.rs -sSf | sh -s -- -y

- name: Add Rust to PATH
run: source $HOME/.cargo/env

- name: Install Lychee
run: cargo install lychee

- name: Run Lychee to check links
run: lychee --verbose --all
2 changes: 1 addition & 1 deletion 3d_segmentation/swin_unetr_btcv_segmentation_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
"\n",
"3. Make a JSON file to define train/val split and other relevant parameters. Place the JSON file at `./data/dataset_0.json`.\n",
"\n",
" You can download an example of the JSON file [here](https://drive.google.com/file/d/1qcGh41p-rI3H_sQ0JwOAhNiQSXriQqGi/view?usp=sharing), or, equivalently, use the following `wget` command. If you would like to use this directly, please move it into the `./data` folder."
" You can download an example of the JSON file [here](https://developer.download.nvidia.com/assets/Clara/monai/tutorials/swin_unetr_btcv_dataset_0.json), or, equivalently, use the following `wget` command. If you would like to use this directly, please move it into the `./data` folder."
]
},
{
Expand Down

0 comments on commit ab61437

Please sign in to comment.