Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ env:
RUSTFLAGS: -D warnings

jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: crate-ci/typos@v1.38.1

test:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion lychee-bin/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2740,7 +2740,7 @@ mod cli {
.stderr(contains("https://example.com/example_dir/md"))
// TS files in example_dir are ignored because we did not specify that extension.
.stderr(contains("https://example.com/example_dir/ts ").not())
// TSX files in examle_dir are ignored because we did not specify that extension.
// TSX files in example_dir are ignored because we did not specify that extension.
.stderr(contains("https://example.com/example_dir/tsx").not());
}

Expand Down
4 changes: 2 additions & 2 deletions lychee-lib/src/archive/wayback/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ mod tests {

#[tokio::test]
/// Test retrieval by mocking the Wayback API.
/// We mock their API beacuse unfortuantely it happens quite often that the
/// We mock their API because unfortunately it happens quite often that the
/// `archived_snapshots` field is empty because the API is unreliable.
/// This way we avoid flaky tests.
async fn wayback_suggestion_mocked() -> Result<(), Box<dyn StdError>> {
Expand Down Expand Up @@ -166,7 +166,7 @@ mod tests {

#[tokio::test]
/// This tests the real Wayback API without any mocks.
/// The flakyness of the API shouldn't affect this test because it originates from
/// The flakiness of the API shouldn't affect this test because it originates from
/// the `archived_snapshots` field.
async fn wayback_suggestion_real_unknown() -> Result<(), Box<dyn StdError>> {
let url = &"https://github.com/mre/idiomatic-rust-doesnt-exist-man".try_into()?;
Expand Down
5 changes: 5 additions & 0 deletions typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[files]
extend-exclude = ["assets/screencast.svg", "fixtures/bench"]

[default.extend-words]
excluder = "excluder"