chore: actions: typos.ai

This commit is contained in:
coderiaser 2026-06-04 15:33:54 +03:00
parent 4d7116b467
commit ea584aceea

View file

@ -6,8 +6,6 @@ jobs:
runs-on: ubuntu-latest
env:
NAME: cloudcmd
TYPOS_AI_KEY: ${{ secrets.TYPOS_AI_KEY }}
TYPOS_AI_RUN: 1
strategy:
matrix:
node-version:
@ -24,24 +22,15 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Redrun
run: bun i redrun typos.ai palabra -g --no-save
run: bun i redrun -g --no-save
- name: Install
run: bun i --no-save
- name: Lint
run: redrun fix:lint
- uses: actions/cache@v5
- name: Typos
uses: coderaiser/typos.ai@v1.1.2
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: palabra i typos
- name: Typos
run: typos.ai
key: ${{ secrets.TYPOS_AI_KEY }}
- name: Commit fixes
uses: EndBug/add-and-commit@v10
continue-on-error: true