Skip to content

Commit 50a3965

Browse files
committed
Remove markdown link check
This CI job is incredibly flaky and provides little value. Remove it to reduce maintenance burden.
1 parent 929c0bd commit 50a3965

File tree

4 files changed

+3
-74
lines changed

4 files changed

+3
-74
lines changed

.github/markdown-link-check.json

-19
This file was deleted.

.github/workflows/markdown-link-check.yaml

-34
This file was deleted.

CONTRIBUTING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ rake lint:eslint # Lint JavaScript and TypeScript sources with
159159
rake lint:rubocop # Run RuboCop
160160
rake lint:rubocop:autocorrect # Autocorrect RuboCop offenses (only when it's safe)
161161
rake lint:rubocop:autocorrect_all # Autocorrect RuboCop offenses (safe and unsafe)
162-
rake release:markdown_link_check # Check for broken links in markdown files
163162
rake test # Run Playground unit tests
163+
rake toolchain:sync # Sync Rust toolchain to all sources
164+
rake toolchain:sync:ci # Sync the root rust-toolchain version to CI jobs
165+
rake toolchain:sync:manifests # Sync the root rust-toolchain version to all crate manifests
164166
```
165167

166168
To lint Ruby sources, the playground uses [RuboCop]. RuboCop runs as part of the

Rakefile

-20
Original file line numberDiff line numberDiff line change
@@ -101,26 +101,6 @@ end
101101

102102
Bundler::Audit::Task.new
103103

104-
namespace :release do
105-
link_check_files = FileList.new('**/*.md') do |f|
106-
f.exclude('emsdk/**/*')
107-
f.exclude('node_modules/**/*')
108-
f.exclude('**/target/**/*')
109-
f.exclude('**/vendor/*/**/*')
110-
f.include('*.md')
111-
f.include('**/vendor/*.md')
112-
end
113-
114-
link_check_files.sort.uniq.each do |markdown|
115-
desc 'Check for broken links in markdown files'
116-
task markdown_link_check: markdown do
117-
command = ['npx', 'markdown-link-check', '--config', '.github/markdown-link-check.json', markdown]
118-
sh command.shelljoin
119-
sleep(rand(1..5))
120-
end
121-
end
122-
end
123-
124104
namespace :toolchain do
125105
desc 'Sync Rust toolchain to all sources'
126106
task sync: %i[sync:manifests sync:ci]

0 commit comments

Comments
 (0)