Skip to content

add check links workflow #1

add check links workflow

add check links workflow #1

Workflow file for this run

name: Check Links
on:
push:
branches:
- main
pull_request:
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:

Check failure on line 12 in .github/workflows/check-links.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-links.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
- 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