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: