Skip to content

Commit

Permalink
chore: add typos check (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
todor-a authored Aug 19, 2024
1 parent bc39fd2 commit 995f176
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ on:
name: Check and Lint

jobs:
typos:
name: Spell Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/[email protected]
with:
files: .

check:
name: Check
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,4 +43,4 @@ jobs:
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion tests/cli_gitignore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn setup_gitnore_test_dir() -> (TempDir, PathBuf, PathBuf) {
}

#[test]
fn test_gitignored_files_successfuly_ignored() -> Result<(), Box<dyn std::error::Error>> {
fn test_gitignored_files_successfully_ignored() -> Result<(), Box<dyn std::error::Error>> {
let (temp_dir, sample_path, ignored_path) = setup_gitnore_test_dir();

let mut cmd = common::run_cli("**/*.json", &["--write"], temp_dir.path());
Expand Down

0 comments on commit 995f176

Please sign in to comment.