Skip to content

Commit

Permalink
Add codespell workflow (replaces misspell) (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell authored Feb 27, 2024
1 parent 909f2e0 commit dd65e01
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 23 deletions.
4 changes: 4 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
skip = .git,*.pdf,*.svg,*.csv,pnpm-lock.yaml,*/wwwroot
# some modules, parts of regexes, and variable names to ignore
ignore-words-list = aci
21 changes: 21 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Codespell

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
20 changes: 0 additions & 20 deletions .github/workflows/misspell.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Description>Support for storing data proection keys using MongoDB in AspNetCore</Description>
<Description>Support for storing data protection keys using MongoDB in AspNetCore</Description>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tingle.Extensions.Caching.MongoDB/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The implementation provides two distinct options:

### Use an existing instance of a MongoClient

This option will make the provider re-use an existing `MongoClient` instance, which won't be disposed when the provider is disposed.
This option will make the provider reuse an existing `MongoClient` instance, which won't be disposed when the provider is disposed.

```c-sharp
services.AddMongoCache((MongoCacheOptions cacheOptions) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public OAuthClientCredentialHandler(HttpMessageHandler innerHandler, HttpClient?

/// <summary>
/// The duration of before expiry of the token that it should be renewed.
/// Defaults to 10 seconds; minumum 5 seconds.
/// Defaults to 10 seconds; minimum 5 seconds.
/// </summary>
public virtual TimeSpan RenewalThreshold { get; set; } = TimeSpan.FromSeconds(5);

Expand Down

0 comments on commit dd65e01

Please sign in to comment.