From 975d4eb8a0960b0209e42c013c2e2cdfa5a5877b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 14 Jun 2022 14:39:06 +0300 Subject: [PATCH] chore(actions) add typos --- .github/workflows/nodejs.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 95ce0d0c..ade24314 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -23,6 +23,23 @@ jobs: run: npm install - name: Lint run: redrun fix:lint + + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + + - name: Typos Install + run: cargo install typos-cli || echo 'already installed' + + - name: Typos + run: typos --write-changes + - name: Commit fixes uses: EndBug/add-and-commit@v7 with: