Check for typos.
This commit is contained in:
parent
17797d34bd
commit
29b605f778
3 changed files with 28 additions and 4 deletions
23
.forgejo/workflows/typos.yml
Normal file
23
.forgejo/workflows/typos.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Spell Check with typos
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
typos:
|
||||
name: Check for typos
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
git clone --depth 1 https://token:${{ secrets.ACTIONS_TOKEN }}@gugulet.hu/technical/git/g_it/site.git .
|
||||
cd site || true
|
||||
|
||||
- name: Install typos
|
||||
run: |
|
||||
apt-get update && apt-get install -y cargo
|
||||
cargo install typos-cli
|
||||
- name: Run typos
|
||||
run: typos
|
||||
Loading…
Add table
Add a link
Reference in a new issue