Skip to content

Commit 391ccd0

Browse files
committed
Adds docs deadlinks check on CI (#1590)
Closes #1579 This is my first contribution to this repository, feel free to correct anything that I'm missing and I'll address feedback as soon as possible!
1 parent 6719c2c commit 391ccd0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,16 @@ jobs:
128128
time CI_TESTING_CONFIG=$example VK_ICD_FILENAMES=$(pwd)/vk_swiftshader_icd.json DRI_PRIME=0 xvfb-run cargo run --example $example_name --no-default-features --features "bevy_dynamic_plugin,bevy_gilrs,bevy_gltf,bevy_wgpu,bevy_winit,render,png,hdr,x11,bevy_ci_testing"
129129
sleep 10
130130
done
131+
132+
deadlinks:
133+
runs-on: ubuntu-latest
134+
steps:
135+
- uses: actions/checkout@v2
136+
- name: Install alsa and udev
137+
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
138+
if: runner.os == 'linux'
139+
- name: Installs cargo-deadlinks
140+
run: cargo install cargo-deadlinks
141+
- name: Checks dead doc links
142+
run: cargo doc --all-features --no-deps && cargo deadlinks --dir target/doc/bevy
143+
continue-on-error: true

0 commit comments

Comments
 (0)