Skip to content

Commit

Permalink
doc: improve CI link check
Browse files Browse the repository at this point in the history
  • Loading branch information
fightling committed Dec 26, 2024
1 parent 3ceaba3 commit 2fe6b5f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ jobs:
steps:
- name: Install ninja-build
run: sudo apt-get install -y ninja-build
- name: Install lychee
run: cargo install lychee
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --verbose
- name: Run lychee
run: lychee --exclude-path target --exclude-path thirdparty .

test:
runs-on: ubuntu-latest
Expand All @@ -40,3 +36,15 @@ jobs:
submodules: 'true'
- name: Run tests
run: cargo test --verbose

test-links:
runs-on: ubuntu-latest

steps:
- name: Install lychee
run: cargo install lychee
- uses: actions/checkout@v4
- uses: lycheeverse/lychee-action@v2.2.0
- name: Test Links
run: lychee --exclude-path target --exclude-path thirdparty .

0 comments on commit 2fe6b5f

Please sign in to comment.